/party_registry

Registr členů a příznivců vhodný pro potřeby KrP Praha

Primary LanguageRuby

Political party registry

Build Status

Automated setup

cp config/configatron/development.example.rb config/configatron/development.rb
docker-compose build
docker-compose up

Attach to console:

docker-compose run web /myapp/bin/rails c

Manual setup

  • Ruby version

    2.1.0 + rubygems

  • System dependencies

    gem install bundler
  • Configuration
    bundle install
    cp config/configatron/development.example.rb config/configatron/development.rb
  • Database creation
    bundle exec rake db:create
  • Database initialization
    bundle exec rake db:migrate
    bundle exec rake db:seed
  • How to run the test suite
    bundle exec rake
  • Development instructions
    bundle exec rake db:populate
  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions