• Stars
    star
    264
  • Rank 155,103 (Top 4 %)
  • Language
    CSS
  • License
    MIT License
  • Created over 9 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Billing and auth system for VPN provider

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:

More Repositories

1

smartvpn-http-hooks

OpenVPN server hooks
Ruby
168
star
2

smartvpn

SmartVPN project website and documentation
CSS
43
star
3

ex_clockwork

Package for running periodic tasks
Elixir
9
star
4

smartvpn-node

VPN node configuration that integrates to smartvpn-billing
Shell
7
star
5

ec2-swarm

Ansible playbooks for AWS EC2 swarm cluster located in VPC
Python
5
star
6

awesome-project-ideas

4
star
7

payoneer

Ruby wrapper for Payoneer API
Ruby
4
star
8

smart_translitter

Cyrillic to Latin translitter
Ruby
3
star
9

csf-twi

Twitter feeds aggregation
JavaScript
2
star
10

Evrone-Test-app

Small blog application
Ruby
2
star
11

go_online

Go game online service. Js, Node.js, HTML5
JavaScript
2
star
12

darklane

WIP
Shell
2
star
13

sidekiq-ui-docker

Dockerized standalone sidekiq UI dashboard
Ruby
2
star
14

docker-openvpn-http-proxy

OpenVPN docker image with exposed HTTP proxy port
Dockerfile
2
star
15

openvpn_stats

Stats collector for openvpn server
Go
2
star
16

fres

Toolkit for microservice oriented projects
Go
1
star
17

community-starter-kit

1
star
18

toolkit

Useful scripts for daily developer life
Shell
1
star
19

pmj

Elixir
1
star
20

CSF-Journal

Educational information system
JavaScript
1
star
21

redis-overcommit-enabled

Official Docker image tuned with vm.overcommit_memory=1
1
star
22

passw0rder

Random password generator for OS X Dashboard
1
star
23

paxum

Ruby wrapper for Paxum API
Ruby
1
star
24

arm-ruby-base

Base image for applications deployed into Docker Swam on Raspberry Pi cluster
Ruby
1
star
25

rainbow_storage

High-level Ruby storage library for various backends
Ruby
1
star
26

CsfTaskManager

Task Management Tool
JavaScript
1
star
27

my-vpn-setup

Shell
1
star
28

webserver

Ruby
1
star
29

ex_bees

Autonomous Drone Insect simulator
Elixir
1
star
30

cm-accounting

Automatically exported from code.google.com/p/cm-accounting
PHP
1
star