Run Local Instance
- Install Node.js
- Install MongoDB
- Create a Google Cloud project
- Enable the required Google Cloud APIs:
- Google+ (Profile, Email)
- Google Drive (Read Only)
- Google Sheets (Read Only)
- YouTube (Read Only)
- Clone the workout-report repository
- Create
./config/auth.js
and ./config/database.js
files.
- Follow examples in the
/config
directory’s README.md
.
- Start MongoDB from its
/bin
directory
- Run in root directory to install all necessary modules
- Run in the project’s root directory:
set DEBUG=NodeJsWebsite:* & npm start
or ./start_server.sh
- View your local instance of Workout Report at localhost:3000
Docker Instructions
- Create:
- MonogoDB
- Google Cloud APIs
./config/auth.js
file
./config/database.js
file
- Build:
docker build -t workout-report .
- Run:
docker run -p 3000:3000 workout-report