GithubHelp home page GithubHelp logo

grasscrm's Introduction

grasscrm

Open Source Java based CRM

How to configure the environment:

(1)Download and install Postgres database, the download URL:http://www.postgresql.org/download/

(2)Download and install Jboss Server Version 6.1.0 Final version, the download URL:http://download.jboss.org/jbossas/6.1/jboss-as-distribution-6.1.0.Final.zip, after installed Jboss, need change the configuration, open file /jboss/bin/run.conf.bat,in line 43, change set "JAVA_OPTS=-Xms128M -Xmx512M -XX:MaxPermSize=256M" into : set "JAVA_OPTS=-Xms1024m -Xmx1024m -XX:PermSize=128M -XX:MaxNewSize=256m -XX:MaxPermSize=512m

(3)Download and install Eclipse, then import the Grass CRM project

(4)Config the build.xml, in line 19, change the value of propery "jboos.deploy" to your jboss sever location

(5)Config the datasource in Grass/WebContent/WEB-INF/config/spring/applicationContext.xml, in line 16, if postgres database is installed in other server, you can change the value of url here.

(6)Initialize database(only need be done at the first time):

a. Create a new database "grass", the script is as following, you also can create it in pgAdmin tool. CREATE DATABASE grass WITH OWNER = postgres ENCODING = 'UTF8' TABLESPACE = pg_default LC_COLLATE = 'English, United States' LC_CTYPE = 'English, United States' CONNECTION LIMIT = -1;

b. Switch current database to grass, then execute the sql script in Grass/sql/InitializeData.sql

(7)In eclipse, go to Grass project, execute "ant deploy" to deploy project to jboss server, then start jboss server. (8)In browser, input URL:localhost:8080/grass, will open the login page, the default user name is "admin", password is empty, then you can login the Grass CRM system.

How to deploy grass crm to tomcat:

If you want to deploy grass crm to Tomcat, you need add jta.jar to this project, you can download jta.jar from http://www.java2s.com/Code/Jar/j/Downloadjtajar.htm, if you deploy grass crm to Jboss, needn't this jar.

grasscrm's People

Contributors

grasscrm avatar polestart avatar

Watchers

james_jjyang avatar

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.