Skip to content

sourceopen7/billing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jBilling

Requirements:

  • Java 8+
  • Grails 2.4.3
  • PostgreSQL 8+ (required for testing, other runtime databases are supported)

To run jBilling from source you will need to have Java 8+ and Grails 2.4.3 installed. To install grails, download version 2.4.3 from the Grails Archive and follow the installation instructions for your operating system.

Java and PostgreSQL can be downloaded an installed by visiting the vendor's websites, or in linux environments by using the package manager (apt-get or yum).

Cloning the Source Code from GitHub

Install Git.

Clone the repository from git@github.com:emilc/enterprise.git

clone git@github.com:emilc/enterprise.git jbilling-enterprise

Configuring PostgreSQL

To run jBilling with the out-of-box reference database, you must have PostgreSQL installed and configured with a 'jbilling' user and an empty 'jbilling_test' database. The setup scripts also expect that the user will allow local connections without a password.

Edit the PostgreSQL pg_hba.conf file and change the "local" and "IPv4" localhost connection types:

# "local" is for Unix domain socket connections only
local   all         all                               trust
# IPv4 local connections:
host    all         all         127.0.0.1/32          trust

Connect to PostgreSQL and create the test user and database.

CREATE ROLE jbilling WITH LOGIN SUPERUSER CREATEDB CREATEROLE PASSWORD 'jbilling';
CREATE DATABASE jbilling_test WITH OWNER jbilling;

Setup

Run the grails compile target to compile the jBilling source code, then run the prepare-test target to load the reference database and prepare all the required resources.


grails compile
grails prepare-test

The grails compile target may halt with a compiler error on some environments, running compile a second time usually resolves the issue.

Running from Source

Windows: run-app.bat

Linux/Mac: ./run-app.sh

About

No description, website, or topics provided.

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
license.txt
AGPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published