Helphub system allows organizing charity fund infrastructure
cp .env.example .env
docker-compose build
docker-compose run --rm app bash -c "bundle install && bundle exec rails db:create db:migrate db:seed && yarn --check-files"
docker-compose up -d
Code will lbe deployed autmatically after push into master
branch. See github actions.
CI will start automatically on every code update. See github actions.
For local testing:
docker-compose run app bash -c 'RAILS_ENV=test rspec spec'
docker-compose run app bash -c 'rubocop'
docker-compose exec app xvfb-run -a bundle exec cucumber
To debug this you can try
binding.pry
page.save_screenshot('/app/test.png')