Last Updated on 02/11/2024
- Install NodeJS here
- Clone repo by running
git clone https://github.com/wobbethan/EGN4912.git
- Open a new terminal session inside
EGN4912/
- Run
npm install --legacy-peer-deps
- Run
npm start dev
to start backend server with nodemon - Run
cd frontend
- Run
npm install --legacy-peer-deps
- Run
npm start
to start the frontend - Go to
http://localhost:3000
to view the app
- Install Docker Engine here
- Clone repo by running
git clone https://github.com/wobbethan/EGN4912.git
- Open a new terminal session inside
EGN4912/
- Run
docker build . -t invest-brighter
- Run
docker run -p 3000:8000 invest-brighter
- Go to
http://localhost:3000
to view the app
- Install Docker Engine here
- Install Heroku CLI here
- Run Docker Engine on your machine by opening Docker Desktop. You should see a message when you run
docker ps
- Open a new terminal session inside
EGN4912/
- Run
heroku login
and login to Heroku - Run
heroku container:login
- Create a Heroku app in your Heroku dashboard if you don't have one already
- Run
heroku container:push web --app your-app-name-here
(you'll need a powerful processor for the build step) - Run
heroku container:release web --app your-app-name-here
- You can view your deployed app by running
heroku open --app your-app-name-here
- For more info, read this guide on deploying Docker containers to Heroku
- Download Java SDK here even though this project has nothing to do with Java