- Clone the repo and run
cd weatherapp.
- Create a
.envfile in the root directory and complete the variables as mentioned in.env.example, also in Dockerfiles of client and server and docker-compose.yml.
-
Run
cd client && npm install && npm run devto install the client dependencies and run the client. -
In a seperate terminal, run
cd server && npm install && npm startto install the server dependencies and run the server.
Run docker-compose up --build to build and run the app.