DEV Community

loading...

Firebase Hosting with HTML, CSS, Prettier, Docker sample code.

purratto
・1 min read

I create that Firebase Hosting with HTML, CSS, Prettier, Docker sample code.
https://github.com/otashun/firebase-hosting-html-css-prettier

Getting Started

git clone git@github.com:otashun/firebase-hosting-html-css-prettier.git
cd firebase-hosting-html-css-prettier
Enter fullscreen mode Exit fullscreen mode

Create a Firebase project

Edit .firebaserc. That is to change the Firebase project name to your Firebase project name.

docker-compose up -d && docker-compose exec app bash
npm install
firebase login
firebase emulators:start
Enter fullscreen mode Exit fullscreen mode

Visit http://localhost:5000

Discussion (0)