Don't like this style? Click here to change it! blue.css

LOGIN:
Welcome .... Click here to logout

Side Lecture: Firebase Hosting

OK you'll need the command `firebase` in a terminal you trust. For most of you that will mean following these instructions for your device: Firebase CLI install for those with terminals they like already they can do something like npm install -g firebase-tools

The setup:

1) Make a project in your dashboard (using the web browser) remember the name.

2) From the command line do firebase login follow the instructions (you can confirm succeess with firebase projects:list and if you see your new project you have done the first 2 successfully.)

3) Make a directory (mkdir coolprojectname) change into that directory (cd coolprojectname) and finally initialize it as a firebase app using firebase init (the menu that pops up is toggled using the spacebar) Select the hosting option and use an existing project select the one you just made. (If you want a single-page app adjust that setting too.)

From that same directory do firebase deploy --only hosting

It just pushed the public directory to a CDN for you and gave you a URL for your app. This is like the github pages in essence with just a couple of extra niceties.

Update the contents of public redeploy and look at your new creation.