A service that tracks workouts and progress in the gym for maximum gainz! Use Reps to track your latest workouts and plot your next lifts
This app is tested and runs on OS X El Capitan and Ubuntu 14.04, with Postgres 9.x.
To install dependencies, install Node and NPM for your system and then:
git checkout [email protected]:scott-w/reps-js.git
cd reps-js
npm install --no-progressYou'll also need to install Postgres and create our database and tables:
npm run createdb # Requires your sudo password
npm run migrateInstall Node 5.x then:
sudo aptitude install build-essential gcc g++
This app depends on bcrypt which Windows has no default bindings for.
Windows users should follow the bcrypt instructions.
Running a server is as easy as starting the NPM script:
npm run startThe accepted values for NODE_ENV are test, development, staging, and
production.
We can also change the JWT secret key using the JWT_PRIVATE_KEY environment
variable.
To build the client-app, simply run:
npm run buildYou can also do:
npm run compile- Compile the applicationnpm run watch- Constantly rebuild on changes
To run server tests:
npm testThis will run using the Lab test runner.
To run the client tests:
npm run test:clientThis will run the client-side tests in your browsers using the Karma test runner.
After configuring and installing everything, you can run a live system by starting the following scripts:
npm run start
npm run watchNow, simple navigate to http://localhost:3000 to start running the app.