Skip to content
This repository has been archived by the owner on Jul 13, 2019. It is now read-only.

georgemblack/path-to-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Path to Run

Build from Scratch

Assuming you have the following dependencies:

  • Maven 3.6 or later
  • Node 11 or later
  • Java JDK 11 or later

Set the following environment variables:

Environment Var Value
SPRING_PROFILES_ACTIVE local
STRAVA_CLIENT_ID See developers.strava.com
STRAVA_CLIENT_SECRET See developers.strava.com
STRAVA_CLIENT_TOKEN See developers.strava.com

Run a local Postgres server with Docker:

docker container run -d \
    -p 5432:5432 \
    -e POSTGRES_USER=pathtorun \
    -e POSTGRES_PASSWORD=abc123 \
    -e POSTGRES_DB=pathtorundb \
    --name path-to-run-db \
    postgres:latest

Build client:

cd client
yarn
yarn build

Build server:

cd server
mvn clean install

Run application on 8080:

cd server
java -jar target/*.jar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published