This is a run tracking app which allows users to create an account, input their running data and view their running history along with calculated calories burned on those runs.
After deployment you can login with a seeded user, the details are:
- Email: roy@don.ac
- Password: playerdata
- Ruby 2.6.3p62
- Rails 6.1.1
- Devise 4.7.3
- Download / Pull repo
git clone git@github.com:td/run-tracker.git run-tracker
- Navigate into the project
cd run-tracker
- Run package installer
bundler install
- Create DB and Migrate
rails db:create && rails db:migrate && rails db:seed
- Install Webpacker
rails webpacker:install
selectn
on overwrite prompt - Launch server
rails server
- Goto localhost:3000
From the project folder, run rails runner "Activity.updateCaloriesBurned"
rails test