Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 1.6 KB

CONTRIBUTING.md

File metadata and controls

66 lines (42 loc) · 1.6 KB

Contributing ✨

Thank you for your interest in Daily web coding!

Project setup 👩‍💻

System required 🖌

Setup steps

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

Firebase emulator

if you have problem with firebase emulator checkout this video 👇

https://www.youtube.com/watch?v=npNJUpTvO0M&t=124s

Deployment

if you want to deploy to vercel checkout this video 👇 https://www.youtube.com/watch?v=I7dZsYWsX-A