From 921fdfc30a0029d26028224eaba3edc803c0fbf8 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 15 Jul 2013 11:43:24 +0530 Subject: [PATCH 1/2] [docs] [install] added instructions for one command install --- docs/docs.dev.install.md | 51 ++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/docs/docs.dev.install.md b/docs/docs.dev.install.md index 5564fffdb9..1d69a9d295 100644 --- a/docs/docs.dev.install.md +++ b/docs/docs.dev.install.md @@ -10,6 +10,39 @@ > These are instructions that will help you to install ERPNext on your Unix like system (Linux / Ubuntu / MacOS) using the Terminal. If you are looking at easier ways to evaluate ERPNext, [see this page](docs.user.intro.try.html). +### ERPNext Installer (Beta) + +Install ERPNext in one command! + +1. Switch to root user using `sudo su` +1. create a folder where you want to install erpnext +1. go to the new folder +1. `wget https://gist.github.com/anandpdoshi/5991402/raw/5b3b451720a8575f8708e58a640b9a760d048392/install_erpnext.py` +1. `python install_erpnext.py` + +> If you are installing on your server for deployment, remember to change Administrator's password! + +> If you get stuck, post your questions at [ERPNext Developer Forum](https://groups.google.com/forum/#!forum/erpnext-developer-forum) + +-- +> [Server Setup Tips](http://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers) + +> [MySQL configuration file - my.cnf](MySQL-configuration-file) + +> [Some Useful Aliases](Some-Useful-Aliases) + +--- +### Upgrade / run latest patches + +1. Backup your database! +1. go to Setup > Update This Application [under Update Manager] +1. click on 'Get Latest Updates' + +> [Restoring from ERPNext backup](Restoring-From-ERPNext-Backup) + +--- +### Step by step instructions + 1. You will need some linux background to be able to install this on your system. 1. These are high-level instructions and by no means cover every installation issue. @@ -121,21 +154,3 @@ service iptables save RewriteRule ^([^/]+)$ /web.py?page=$1 [QSA,L] - -## Upgrade / run latest patches - -1. Backup your database! -1. go to Setup > Update This Application [under Update Manager] -1. click on 'Get Latest Updates' - - -#### If you cannot see this option (Update This Application), you will need to run a manual update once - -1. go your erpnext folder i.e. `cd /var/www/erpnext` -1. run `lib/wnf.py --update origin master` -1. run `chown -R apache:apache *` or `chown -R _www:_www *`. This will make the erpnext folder accessible to apache webserver. -1. once done, you can use Setup > Update This Application, henceforth. - ---- - -> Looking for a one click installer? Help us build one. \ No newline at end of file From bb2cf070784131ecec22ba6ed5e2860c189184fa Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 15 Jul 2013 12:19:56 +0530 Subject: [PATCH 2/2] [license] added CONTRIBUTING.md --- CONTRIBUTING.md | 28 ++++++++++++++++++++++++++++ license.txt | 9 +++++++++ 2 files changed, 37 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000..61e52d28c4 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,28 @@ +# Contributing to ERPNext + +### New Features + +#### Don't Repeat Yourself (DRY) + +We believe that the most effective way to manage a product like this is to ensure that +there is minimum repetition of code. So before contributing a function, please make sure +that such a feature or function does not exist else where. If it does, the try and extend +that function to accommodate your use case. + +#### Don't create new DocTypes Unless Absolutely Necessary + +DocTypes are easy to create but hard to maintain. If you find that there is a another DocType with a similar functionality, then please try and extend that functionality. For example, by adding a "type" field to classify the new type of record. + +#### Tabs or spaces? + +Tabs! + +### Copyright + +The ERPNext code is licensed as GNU General Public License (v3) and the Documentation is licensed as Creative Commons (CC-BY-SA-3.0) and the copyright is owned by Web Notes Technologies Pvt Ltd (Web Notes). Unless otherwise asserted in the code files, Web Notes will own the copyright of all contributions too. That means Web Notes holds the rights to change the license in the future or offer Commercial Licenses. + +We will only accept copyright assertions in case of a significant contribution like a whole new functionality or a major rewrite. We believe if your contribution is significant then you should have a say in what license Web Notes selects in the future and/or have a right to any revenue Web Notes gets from a Commercial License. Either ways Web Notes will have the right to decide what is a "significant" contribution. + +Note: At the moment, Web Notes does not give Commercial License for ERPNext nor has specific plans do so in the future. + +The brand name ERPNext and the logo are trademarks of Web Notes Technologies Pvt. Ltd. diff --git a/license.txt b/license.txt index 9c8bf913cd..093f0f110d 100644 --- a/license.txt +++ b/license.txt @@ -1,4 +1,13 @@ +ERPNext License Info +-------------------- + +(c) 2013 Web Notes Technologies Pvt Ltd. Mumbai +ERPNext is a trademark of Web Notes Technologies + +The ERPNext code is licensed under the GNU General Public License (v3) as mentioned below and the Documentation is licensed under Creative Commons (CC-BY-SA-3.0) + GNU GENERAL PUBLIC LICENSE +-------------------------- Version 3, 29 June 2007