Skip to content

m4rc3iro/runmarc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Runmarc

Source Code

Download source code running the following command: git clone https://[email protected]/m4rc3iro/runmarc.git

Development

Dependencies

Make sure the following dependencies are available in your system:

  • npm
  • angular-cli

Frontend

  • 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/

Backend

  • 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

Production

In order to build and deploy the application into DigitalOcean:

  1. SSH into Digital Ocean's server: ssh [email protected] (pass in 1Password)
  2. [Optional] Clone repository -git clone https://[email protected]/m4rc3iro/runmarc.git
  3. [Optional] Navigate to application's folder and run git pull to initialise/update the repo
  4. [Optional] Create an runmarc/frontend/src/environments/environment.prod.ts environmental properties file with all the required secrets (see 1Password)
  5. [Optional] Create an runmarc/backend/.env-prod environmental properties file with all the required secrets (see 1Password)
  6. Build and spin up the environment by running docker-compose build && docker-compose up -d
  7. [Optional] Clean up old container images, etc. by running docker system prune
  8. Navigate to http://134.209.239.31/

Change Logs

1.0.0

  • Initial version of the website, which basically offers support for running on a production environment (Heroku).
  • Only Introduction functionality available.

About

My personal website about running.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published