Download source code running the following command: git clone https://[email protected]/m4rc3iro/runmarc.git
Make sure the following dependencies are available in your system:
- npm
- angular-cli
- Navigate to the project frontend directory by executing
cd runmarc/frontend
- Run
npm install
to download all the project dependencies - Run the
ng serve
command - Navigate to
http://localhost:4200/
- Navigate to the project frontend directory by executing
cd runmarc/backend
- Run
npm install
to download all the project dependencies - Run the
supervisor server.js
command
In order to build and deploy the application into DigitalOcean:
- SSH into Digital Ocean's server:
ssh [email protected]
(pass in 1Password) - [Optional] Clone repository -
git clone https://[email protected]/m4rc3iro/runmarc.git
- [Optional] Navigate to application's folder and run
git pull
to initialise/update the repo - [Optional] Create an
runmarc/frontend/src/environments/environment.prod.ts
environmental properties file with all the required secrets (see 1Password) - [Optional] Create an
runmarc/backend/.env-prod
environmental properties file with all the required secrets (see 1Password) - Build and spin up the environment by running
docker-compose build && docker-compose up -d
- [Optional] Clean up old container images, etc. by running
docker system prune
- Navigate to
http://134.209.239.31/
- Initial version of the website, which basically offers support for running on a production environment (Heroku).
- Only Introduction functionality available.