-
Notifications
You must be signed in to change notification settings - Fork 0
How to contribute
Kevin Mai edited this page Feb 3, 2024
·
2 revisions
- Install and run
Docker
- Install extension
Dev Container
. - In VSCode Command Palete (
Ctr
+Shift
+P
), type and selectDev Container: Reopen in Container
. - The container will take few minutes to run up. After the develop container is up the VSCode is ready, open the terminal.
- Run commands:
make install
make packages
make frontend
make backend
make start
- The web app should be accessible at
localhost:3000/
-
make help
to see the list of comands - Frontend: If you make changes in frontend, just need to run
make frontend
then refresh the web app. - Backend: If you make changes in backend,
Ctr
+C
to stop the server thenmake backend
to rebuild andmake start
to start server again. I'll try to find a way to speed up by having auto watch and quick recompilation later. - For shared packages in
packages
folder:make packages
# On root directory
$ docker-compose build apps
or
$ docker build .
Make sure development container is down since they have port conflicts 3000
$ docker-compose up apps