Need help with smartvpn-billing?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Mehonoshin
251 Stars 126 Forks MIT License 194 Commits 50 Opened issues

Description

Billing and auth system for VPN provider

Services available

!
?

Need anything else?

Contributors list

# 110,280
vpn-ser...
openvpn
strateg...
s3
69 commits
# 136,663
Sass
Shell
CSS
billing
32 commits
# 263,407
CSS
HTML
Shell
billing
20 commits
# 9,169
nextjs
GraphQL
probot-...
Less
7 commits
# 372,674
CSS
HTML
Shell
billing
6 commits
# 154,321
Ruby
elastic
HTML
rubynlp
5 commits
# 356,221
strateg...
inserti...
CSS
HTML
3 commits
# 473,198
CSS
HTML
Shell
billing
2 commits
# 544,370
CSS
HTML
Shell
vpn-ser...
1 commit
# 401,951
openvpn...
vpn-ser...
openvpn
CSS
1 commit
# 29,453
tox
Qt
c-plus-...
C
1 commit

SmartVPN Billing

Build Status Inline docs

smartvpn-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

  1. Clone repo
    git clone [email protected]:Mehonoshin/smartvpn-billing.git
  2. cd smartvpn-billing
  3. cp config/database.yml.sample config/database.yml
    and enter the username and password for access to your database.
  4. cp .env.sample .env
  5. The file
    .env
    contains all the env variables used in the application.
  6. bundle install
  7. rake db:setup
  8. rails server

Start Up and Developing with Docker

  1. Clone repo
    git clone [email protected]:Mehonoshin/smartvpn-billing.git
  2. cd smartvpn-billing
  3. docker-compose -f docker-compose.development.yml up
  4. cp .env.sample .env
  5. Edit your
    SECRET_TOKEN
    in
    .env
  6. Go to http://lvh.me:3000

How to run usual RoR command into docker 1.

docker-compose -f docker-compose.development.yml up
2.
docker-compose exec app bash
- connect to running container as named app 3.
RAILS_ENV=test ./bin/rake db:setup
- setup test database 4.
./bin/rails console
- run rails console 5.
RAILS_ENV=test bundle exec rspec spec
- start rspec tests

How it works :) https://www.youtube.com/watch?v=VFRKPO5LHDg

Admin access

Other accounts created during seeding can be found at: * Admins * Users

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.