Smiley drawing tool and feed.
Try it in smileys.top
git clone https://github.com/palampinen/draw-smiley.git
cd draw-smiley
npm install -g ionic@1.4.0
npm install
Create Firebase account in https://firebase.google.com/
Create new Firebase project in https://console.firebase.google.com/
Go to Database in your new project and set rules to
{
"rules": {
".read": true,
".write": true
}
}
Go to Storage page and set rules to
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
cp www/config.example.js www/config.js
Fill www/config.js with your Firebase credentials that are found in Firebase Console > Project Overview > Add Firebase to your webapp
ionic serve
Install Firebase CLI https://github.com/firebase/firebase-tools
In your project root
firebase login
firebase init
- Choose
Database & Hosting
- Configure as a single-page app
Yes
- Set
www
to public directory - overwrite index.html
No
firebase deploy
App is now deployed to [your-app-name].firebaseapp.com
-
UI Ionic Framework and Angular1.
-
Firebase as database and for hosting
-
Drawing sketch.js
Licensed under the MIT license.