GithubHelp home page GithubHelp logo

dlineg4 / jbilling Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mosabsalih/jbilling

0.0 1.0 0.0 19.97 MB

Repository of jBilling Community Edition

License: GNU Affero General Public License v3.0

Groovy 18.71% Batchfile 0.01% Shell 0.01% PLpgSQL 17.94% Java 62.05% CSS 0.62% JavaScript 0.67%

jbilling's Introduction

jBilling

Requirements:

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

To run jBilling from source you will need to have Java 6+ and Grails 1.3.4 installed. To install grails, download version 1.3.4 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 [email protected]:emilc/jBilling.git

clone [email protected]:emilc/jBilling.git jbilling-community

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.