forked from frappe/erpnext
-
Notifications
You must be signed in to change notification settings - Fork 0
Migrating your erpnext instance to wsgi
Pratik Vyas edited this page Oct 31, 2013
·
3 revisions
-
Backup your database and files using: Tools > Download Backup
-
Upgrade to Python 2.7+
- For CentOS, you can refer to http://toomuchdata.com/2012/06/25/how-to-install-python-2-7-3-on-centos-6-2/
- For Ubuntu, refer to http://askubuntu.com/questions/101591/how-do-i-install-python-2-7-2-on-ubuntu/101595#101595
Make sure you use altinstall so as not to break your existing operating system tools.
-
Don't use lib/wnf.py for updating. Use git commands to pull updates in app and lib folders.
cd app && git pull origin master && cd .. cd lib && git pull origin master && cd .. sudo pip install -r lib/requirements.txt ./lib/wnf.py --latest ./lib/wnf.py --build
-
To update in future, you may use wnf.py pull,
cd app && git pull origin master && cd .. cd lib && git pull origin master && cd .. ./lib/wnf.py --latest ./lib/wnf.py --build
./lib/wnf.py --serve
The serve command starts a development server on port 8000. You do not have to run apache server for development.
####Community Wiki
- [Install ERPNext on Debian based systems](Install ERPNext on Debian based systems)
- [Install ERPNext on RedHat based systems](Install ERPNext on RedHat based systems)
- [Country wise Chart of Accounts](Country wise Chart of Accounts)
- [Developer Docs](Developer Docs)
- [Some Useful Aliases](Some Useful Aliases)
- [Test Checklists](Test Checklists)
- [Community Developed Custom Scripts](Community Developed Custom Scripts)
- [Legacy Print Formats (Category)](Legacy Print Formats (Category))
- [WSGI Production Deployment](WSGI Production Deployment)
- [Version 4 Permission Use Cases](Version 4 Permission Use Cases)
- [Adding Custom Form to Website](Adding Custom Form to Website)
- [Apache HTTP Settings for Mac OS](Apache HTTP Settings for Mac OS)
- [ERPNext Upgrade to Version 5](ERPNext Upgrade to Version 5)
- [Feature Suggestions](Feature Suggestions)
- [How to Install ERPNext Version 3](How to Install ERPNext Version 3)
- [Future Development: Tracking Productivity](Future Development: Tracking Productivity)
- [Improve Precision of Stock Valuation](Improve Precision of Stock Valuation)
- [Integrating Emails in ERPNext](Integrating Emails in ERPNext)
- [Migrating your erpnext instance to wsgi](Migrating your erpnext instance to wsgi)
- [MySQL configuration file](MySQL configuration file)
- [Restoring From ERPNext Backup](Restoring From ERPNext Backup)
- [Setting up Backup Manager](Setting up Backup Manager)
- [Setting up TLS SSL certificates Let's Encrypt for ERPNext sites](Setting up TLS SSL certificates Let's Encrypt for ERPNext sites)
- [Ubuntu HA Cluster with lsyncd, remote MariaDB, Apache Reverse Proxy Setup Guide](Ubuntu HA Cluster with lsyncd, remote MariaDB, Apache Reverse Proxy Setup Guide)
- [Updating ERPNext Instance](Updating ERPNext Instance)
- [Agri Farm ERPNext](Agri Farm ERPNext)
- [Troubleshooting Guide Template](Troubleshooting Guide Template)
- ["Expense or Difference account is mandatory for [YOUR ITEM HERE] as it impacts overall stock value"]("Expense or Difference account is mandatory for [YOUR ITEM HERE] as it impacts overall stock value")