Thank you for your interest in Daily web coding!
- Node >= 16 https://nodejs.org/en/
- Git >= 2.34.1 https://git-scm.com/
- firebase-cli >=9.10.0 https://www.npmjs.com/package/firebase-tools
- Java >= 11 (for running the emulator) https://firebase.google.com/docs/emulator-suite/install_and_configure#install_the_local_emulator_suite
First, fork the repo, then do this:
git clone https://github.com/<your-fork>/dailywebcoding.git
cd dailywebcoding/
# if you are making *any* code changes, make sure to checkout the dev branch
git checkout dev
# replace it your config
cp .env.local.sample .env.local
next 👉 change to your projectId at .firebaserc
# install the dependencies
yarn install
# run project in development mode
yarn run dev
# start firebase emulator for the development process
yarn run firebase-import
# ------------------------------------------------
# or to start next.js and firebase emulator at the same time
yarn run dev-local
If that all worked without trouble, you should be able to start development and see the result at http://localhost:3000
and firebase emulator at http://localhost:4000
Default account at http://localhost:3000/editor/login
email: [email protected]
password: 1234567
if you have problem with firebase emulator checkout this video 👇
https://www.youtube.com/watch?v=npNJUpTvO0M&t=124s
if you want to deploy to vercel checkout this video 👇 https://www.youtube.com/watch?v=I7dZsYWsX-A