Closed barryels closed 7 years ago
This is a good idea. I prefer to run it with firebase-tools
directly since that is how it will be deployed, so that the local version runs with the same config and settings as the live version.
If you want to add that change in a pull request you're welcome to. Otherwise, I'm refactoring parts of this project this weekend and can include that in my changes.
Thank @sebastiansandqvist !
I've fetch / merged from your master and made the package.json changes. I'm going to be working on this project for a while, so won't be too active here for a week or so.
Should be fixed now by using superstatic instead of firebase for the local server.
Yup, it works! :)
Currently, running the
npm start
script yields ash: 1: firebase: not found
error. One quick-fix would be to addfirebase-tools
to devDependencies. (I've never had much fun with global deps ;) Runningnpm start
then yieldsError: HTTP Error: 401, The entered credentials were incorrect.
Which makes sense... each firebase app has its owner and such.I'm thinking http-server might be a simple solution to getting a local dev server running.