forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
How to Install ERPNext
anandpdoshi edited this page May 10, 2012
·
23 revisions
Note:
You will need some linux background to be able to install this on your system.
These are high-level instructions and by no means cover every installation issue.
- any unix based os
- python 2.6+ (python 3+ not supported)
- apache
- mysql 5+
- git
- python MySQLdb
- pytz
- jinja2
- markdown2
- dateutil
- ensure mysql service is running
- go to a folder where you want to install erpnext.
git clone [email protected]:webnotes/erpnext.git
- go to erpnext folder
chmod 755 install_erpnext.py
./install_erpnext.py
- check your apache/httpd user and group. Most often it is either apache or _www. This can be found in its conf file.
- go to erpnext folder and run
chown -R apache:apache *
orchown -R _www:_www *
. This will make the erpnext folder accessible to apache webserver. - edit apache configuration file (or create an erpnext.conf file and include it in apache conf. see example below)
- restart apache service
- start your browser and go to localhost/erpnext/public
- login as user: Administrator and password: admin
<VirtualHost *:80>
ServerName *
DocumentRoot {full path to erpnext folder}/public/
AddHandler cgi-script .cgi .xml
Options -Indexes +FollowSymLinks +ExecCGI
RewriteEngine on
RewriteRule \.py - [F]
## uncomment below lines if required
#Order allow,deny
#Allow from all
DirectoryIndex index.html index.cgi
</VirtualHost>
Attributions: Thanks to Sudev KK for contributing to the setup steps.