This repo contains just billing system for SmartVPN project. All further documentation in this repo relates only to billing system.
If you are looking for general documentation about the whole SmartVPN please visit Mehonoshin/smartvpn repo.
The docker image is built automatically on every merge to master. You can always pull the latest version of the image from Docker Hub.
docker pull mexx/smartvpn-billing
For more information about the builds visit docker hub page mexx/smartvpn-billing
TBD
git clone [email protected]:Mehonoshin/smartvpn-billing.gitcd smartvpn-billingcp config/database.yml.sample config/database.yml and enter the username and password for access to your database.cp .env.sample .env.env contains all the env variables used in the application.bundle installrake db:setuprails servergit clone [email protected]:Mehonoshin/smartvpn-billing.gitcd smartvpn-billingdocker-compose -f docker-compose.development.yml upcp .env.sample .envSECRET_TOKEN in .envHow to run usual RoR command into docker
docker-compose -f docker-compose.development.yml updocker-compose exec app bash - connect to running container as named appRAILS_ENV=test ./bin/rake db:setup - setup test database./bin/rails console - run rails consoleRAILS_ENV=test bundle exec rspec spec - start rspec testsHow it works :) https://www.youtube.com/watch?v=VFRKPO5LHDg
[email protected]1234567Other accounts created during seeding can be found at:
Content type
Image
Digest
Size
468.8 MB
Last updated
over 7 years ago
docker pull mexx/smartvpn-billing