A modern dockerized marketplace
- Install Docker on Personal Machine (Docker Desktop is best, it's easy and comes with Docker Compose)
- Clone Repo
- VS Code has an integrated git pull, simply select 'Clone Git Repository' in the Welcome menu, and paste: https://github.com/RyanEAA/SWE-SK8TS.git
OR (in terminal with desired directory open):
git clone https://github.com/RyanEAA/SWE-SK8TS.git-
Open cloned directory in VS Code
-
Open terminal window in VS Code (Make sure it is in repo directory)
-
To bring Development Stack Up, enter in terminal: 5.1. if you have to install new package make sure to delete old container
docker compose -f docker-compose-dev.yml up -
Terminal will provide link to react app in broswer (should be http://localhost:3000)
-
React container will live update changes in your browser as you make them, no need to bring down stack every time a change is made
-
To bring down stack after done developing:
ctrl+C in terminalFOR PROD
Refer to 'Steps for Updating Server' in Workflow doc here