Skip to content
Сайт Ростовского IT-сообщества
Ruby CSS HTML JavaScript Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Jun 2, 2019
config Fix default color of AR Query Trace Aug 1, 2019
db Make event place optional Jun 22, 2019
docker Bump Docker image in Dockerfile to ruby:2.4.2 (#180) Dec 16, 2017
vendor/assets Add polyfill for the standard JavaScript canvas.toBlob method Mar 13, 2017
.dockerignore Add uploads folder to the Docker ignore list Aug 6, 2019
Dockerfile Bump Ruby to 2.6.4 Aug 29, 2019
Gemfile Bump sass-rails from 5.0.7 to 6.0.0 Aug 31, 2019
LICENSE Add license (#191) Feb 18, 2018
Procfile Adjust TravisCI settings Jul 31, 2019
Rakefile Fix code style Jul 26, 2016
app.json Add app.json for faster deployments Dec 3, 2018
circle.yml Docker dev environment (#103) Jan 11, 2017


View performance data on Skylight


  • Ruby 2.4.3 (with bundler)
  • PostgreSQL >= 9.5
  • Redis

Development setup

  1. Install gems: bundle install

  2. optional: Install overcommit for GIT commit hooks

  3. optional: Install GIT hooks with overcommit: overcommit --install -f

  4. optional: Run overcommit --sign to trust the hooks in this repository.

  5. Before creating the database you must setup connection strings for PostgreSQL and Redis. Put these default values to .env file:

  6. Setup database and run migrations: rails db:setup

  7. Run server: ./bin/rails server

Docker development setup

Docker-based development environment requires docker-compose >= 1.9.0. Visit for more details.

Forwarded ports and access:

  • Web: http://localhost:3000 (host machine).
  • Database: postgres://postgres@localhost:6543 (host machine).

Use bin/dev helper script for docker-compose management. Run bin/dev -h to see help for this tool.

First time you will need to build containers, get gems installed and manually migrate database.

$ bin/dev up -d
$ bin/dev log
### wait until gems installed
$ bin/dev migrate
### develop
$ bin/dev stop

After first run when all gems installed and migration applied you can just use simple bin/dev start and bin/dev stop commands to start and stop dev environment.

Environment variables

  • ENABLE_QUERY_TRACE=[1|0] - enable query tracing for ActiveRecord;
  • RACK_MINI_PROFILER=[1|0] - enable the mini profiler.


Use the following guides for getting things done, programming well, and programming in style.



You can’t perform that action at this time.