WebERP PreBuild

From Proxmox VE
Jump to: navigation, search

Introduction

  • WebERP is the parent of many ERP / Accounting / Shopping Cart packages like FrontAccounting, etc.,.
  • Source distribution is through SourceForge and only the latest build will be available.

Sources

Web-ERP uses Subversion. Refer Setting up Subversion and WebSVN on Debian to install Subversion.

apt-get install subversion

Checkout the latest code using:

cd /var/lib/vz/Repos/SVNRepos/web-erp
## Old SF Repo
## svn co https://web-erp.svn.sourceforge.net/svnroot/web-erp web-erp
svn co svn://svn.code.sf.net/p/web-erp/code/trunk web-erp
## svn export [project_url]
## rsync -r --exclude=.svn /home/user/progname/ /home/user/progname.copy
tar -czf web-erp_trunk_svn_5698.tar.gz web-erp --exclude=.svn

The following is a sample checkout display:

..
..
A    web-erp/xmlrpc/NEWS
A    web-erp/xmlrpc/Makefile
A    web-erp/xmlrpc/README
 U   web-erp/xmlrpc
Checked out external at revision 82.

Checked out revision 5698.

Testing

Checking out the build files of WebERP is done on GenSQ based on genericlamp v2.0-3 OpenVZ template.

cd /var/www
wget http://sourceforge.net/projects/web-erp/files/webERP_4.10.1.zip
cd  webroot
unzip ../webERP*
mv web* weberp
chown -R www-data:www-data weberp

find ./ -type f -exec chmod 644 \{\} \;
find ./ -type d -exec chmod 755 \{\} \;

Web based install at http://domain.com/weberp after creating database and user as below:

CREATE DATABASE `weberpdemo`CHARACTER SET utf8 COLLATE utf8_general_ci; 
USE `weberpdemo`;
CREATE USER 'weberpuser'@'localhost' IDENTIFIED BY 'weupwd123'; 
GRANT ALTER, ALTER ROUTINE, CREATE, CREATE ROUTINE, CREATE TEMPORARY TABLES, \
    CREATE VIEW, DELETE, DROP, EVENT, EXECUTE, INDEX, INSERT, LOCK TABLES, \
    REFERENCES, SELECT, SHOW VIEW, TRIGGER, UPDATE ON `weberpdemo`.* TO 'weberpuser'@'localhost' ; 
FLUSH PRIVILEGES;

WebERP Sample Screenshots: Login Page | Main Menu

Resources