A Rails web app for collecting and analyzing personal health data.
Displays metrics, charts, alerts, and achievements to encourage healthy behaviors.
Built for personal use, but open-source to the public.
- Ruby on Rails web app with Postgres database
- Bootstrap UI with mobile and desktop responsive design
- Deployed to private Heroku instance for personal use
- Security conscious authentication
- Rspec test suite, run automatically with CircleCI
- Code quality and style enforced by CodeClimate
- Clone repository:
git clone [email protected]:njbbaer/self-metrics.git && cd self-metrics- Install
rubyandbundlerwithrbenv:
rbenv install- Install Bundler dependencies:
bundle install- Setup database
bundle exec rails db:setup- Run server:
bundle exec rails serverFirst, follow the steps above to set up the app locally. Then perform the following steps:
- Ensure Node JS is installed:
sudo apt install nodejs- Precompile assets:
bundle exec rails assets:precompile- Enable service:
sudo systemctl enable $(pwd)/self-metrics.service- Start service:
sudo systemctl start self-metricsbundle exec rspec