Skip to content

vol1ura/Sat_9am_5km

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Quality&Tests CodeQL Test Coverage Maintainability

GPLv3 license Contributions Website

Sat 9am 5km - run events system

Maintenance

Reset Postgres stats with:

SELECT pg_stat_statements_reset();

Development

Create deploy/.env and config/database.yml files:

cp ./deploy/.env.example ./deploy/.env
cp ./config/database.yml.example ./config/database.yml

To build project install Docker and execute

make build
make ash
# in docker container
rails db:prepare
rake db:parse_parkrun_codes[kuzminki_db.csv]
rails db:environment:set RAILS_ENV=test
# add secrets
rails credentials:edit --environment test
# run tests
rspec

Now you can run it

make