Follow the instructions in the following tutorial: it should be straightforward. If you can't get it.
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 and follow the installation instructions for your operating system. And 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. Clone the repository from [email protected]:WebDataConsulting/billing.git git clone [email protected]:WebDataConsulting/billing.git jB-CE-4.1.1 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 'jbillingtest' database. The setup scripts also expect that the user will allow local connections without a password.
![]()
Edit the PostgreSQL pghba.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 Explanation: Set up PostgreSQL to allow all local connections to the database without using a password Restart the PostgreSQL server sudo service postgresql restart Connect to PostgreSQL and create the test user and database. Sudo -u postgres psql Connect to PostgreSQL and create the test user and database. CREATE ROLE jbilling WITH LOGIN SUPERUSER CREATEDB CREATEROLE PASSWORD 'jbilling'; CREATE DATABASE jbillingtest WITH OWNER jbilling; Setup JAVAHOME - /opt/lib/jdk1.8.060 or an equivalent. GRAILSHOME - /opt/lib/grails-2.4.3 or equivalent. Java and grails executables should be in your classpath. Copy the jbilling properties file from the src directory to the root of the project cp./src/java/jbilling.properties. 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`` Logging in Browse to Select 'Prancing Pony' from 'Child company' Credentials: user: admin password: 123qwe Setup with an empty database grails compile grails prepare-test -init If you want to use a database that is not the standard one: grails prepare-test -init -user= -db= -pass= -url= -driver=.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |