- Rename ruby container image in docker-compose.yml
- Create .env files in .config/environments by existing examples
- Run following commands in project folder
$ docker-compose build
$ docker-compose run ruby bundle
$ touch /usr/src/app/log/api_development.log
$ touch /usr/src/app/log/parser_development.log
$ docker-compose up -d
- Connect to ruby container, create DB and run migrations
$ docker exec -it crypto_ruby_1 bash
$ bundle exec rack db:create
$ bundle exec rack db:migrate
- Run app console and call 'run_bot' transaction with empty args
$ ./bin/console_parser
irb> App::Container['transactions.run_bot'].call ''