프로젝트
GitHub에서 보기
Mehonoshin/smartvpn-billing
소개
Billing and auth system for VPN provider
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSmartVPN Billing
About
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.
Docker image
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
Contribution guidelines
TBD
Development setup
Set Up and Running app locally
- Clone repo
git clone [email protected]:Mehonoshin/smartvpn-billing.git cd smartvpn-billingcp config/database.yml.sample config/database.ymland enter the username and password for access to your database.cp .env.sample .env- The file
.envcontains all the env variables used in the application. bundle installrake db:setuprails server
Start Up and Developing with Docker
- Clone repo
git clone [email protected]:Mehonoshin/smartvpn-billing.git cd smartvpn-billingdocker-compose -f docker-compose.development.yml upcp .env.sample .env- Edit your
SECRET_TOKENin.env - Go to http://lvh.me:3000
How 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 tests
How it works :) https://www.youtube.com/watch?v=VFRKPO5LHDg
Admin access
- To get admin access you can go to http://localhost:3000/admins/sign_in
- Email:
[email protected] - Password:
1234567
Other accounts created during seeding can be found at:
관련 프로젝트 살펴보기
불러오는 중…
