MIRROR of the open-source branch of the RunbyPace app (see https://runbypace.com). RunbyPace provides pace recommendations for different types of runs based on an individual runner's fitness level. This helps a runner get the most benefit from each type of run
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.docker_config
app
bin
config
db
lib
log
public
test
tmp
vendor/assets
.dockerignore
.editorconfig
.gitattributes
.gitignore
.travis.yml
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru
deploy.sh
docker-compose.yml
rubymine.png
runbyonrails.env.template
runbyonrails_db.env.template
runbypace_logo.png

README.md

RunbyOnRails

The open-source branch of the RunbyPace app (see https://runbypace.com). RunbyPace provides pace recommendations for different types of runs based on an individual runner's fitness level. This helps a runner get the most benefit from each type of run.

RunbyPace logo

Build Build Status
Grade Codacy Badge

Build history

See the Gemfile for the requisite versions of Ruby and Rails.

Up and developing

We use Docker Compose to ease development and deployment. Note that you will need to run Linux or Mac OSX. Expect to suffer if you are on Windows. Sorry.

Run bin/setup

After cloning the repo, run bin/setup to set up things like Git hooks. (A post-commit hook is used to store the commit hash in public/gitcommit.txt)

Set environment variables in .env files

docker-compose.yml is configured to pull in environment variables from the .env files. Copy the *.env.templates files and remove the .template extension. Edit the files and enter your custom environment variables.

Launching Docker Compose

  • Ensure Docker is installed.
  • docker-compose up
  • docker exec runbyonrails_runbyonrails_1 rails db:reset
  • docker exec runbyonrails_runbyonrails_1 rails db:migrate
  • Visit http://localhost:3000 in a browser

Run the tests

  • docker-compose up (if you haven't already)
  • docker exec runbyonrails_runbyonrails_1 rake test

Contributing

Bug reports and pull requests are welcome on Gitlab at https://gitlab.com/tygerbytes/RunbyOnRails. However, I'm very busy so YMMV.

Contribute your ideas at @runbypace.

Acknowledgements

Crafted with care, with the support of JetBrains RubyMine

RubyMine logo

License

The software is available as open source under the terms of the MIT License.