Hey Pratik / Anand,
I have a plan -
1. Let us keep the installer erpnext focussed - thats the killer app, 99% of the people will come for erpnext
2. There need to be 2 scripts - one to build a package from the current source (which I can run on local) that will create a tarball that a user can download
3. Second will be the install script, that till untar, drop a file in conf.d for apache settings (on a separate port) - detail below:
build_package.py
1. Run git status to find if there are any un-committed files, if there are, stop the build process and ask the user to commit / stash
2. Restore the master db and patch it in a temp db - then dump it and create a sql.gzip
3. Keep a version file in the erpnext folder and increment the version we can start with 1.0.0
4. Zip the wnframework and erpnext folders in a tarball, excluding defs.py (better) and give it a number erpnext-1.0.0
install.py
the user untars the download in the folder they want to install (or we can select it to be /var/www)
1. find the current folder (we need it for the modules_folder settings)
2. the install process
- install if not exsists (mysql, python, apache, mysql-python, setuptools, pytz etc)
3. restore the dump (prompt the user for root password)
4. cleanup the dump (add missing tables) and delete sync_with_gateway from tabSingles
5. prompt user for the company name (its required) and set it in the control panel (tabSingles)
6. move the module_icons.png to wnframework/images/user
7. create a erpnext.conf (httpd) file on a virtual host (port 8080 or something) with execcgi enabled and drop it in the conf.d folder
8. ensure the erpnext folders have write permissions (or else there will not be any .pyc files that will degrade performance)
9. restart apache
That should be set.... we can write the process for debian and redhat package managers ---- should be do-able...
Once these scripts are ready, I will setup erpnext.org and we are set!
If anyone of you can setup a repo and mail the link, I will be happy to contribute in my free time over the weekend....
I think this can really kickstart the community as I feel there is a lot of interest in erpnext!
cheers,
Rushabh
On Aug 26, 2011, at 3:34 PM, Pratik Vyas wrote:
I had started that sometime back.
gitorious.org/wninstall
(not tested, VMs on my computer are painful)
I guess I haven't put the dependencies and the script download from
google code, not github but can be a kickstart for anyone!
This should make debian package and rpm package.
We will need a browser based page that runs the install.py
--
Pratik Vyas
Twitter : @pdvyas
ERPNext - World's most affordable ERP - (Rs 299 / $7 per user per month)
Not sure whether you guys have seen this but there is a openerp package for
ubuntu:
It would be good to have one for webnotes f/w + erpnext too.
==============================================
Anand Jeyahar
==============================================
The man who is really serious,
with the urge to find out what truth is,
has no style at all. He lives only in what is.
~Bruce Lee
Love is a trade with lousy accounting policies.
~Aang Jie
--
You received this message because you are subscribed to the Google Groups
"Web Notes Framework Forum" group.
To unsubscribe from this group, send email to
For more options, visit this group at
--
You received this message because you are subscribed to the Google Groups "Web Notes Framework Forum" group.
---------------------------------------------------------------------------------
ERPNext - World's most affordable ERP - (Rs 299 / $7 per user per month)
Twitter: @rushabh_mehta
–
You received this message because you are subscribed to the Google Groups “Web Notes Framework Forum” group.
To post to this group, send email to wn...@googlegroups.com.
To unsubscribe from this group, send email to wnframework+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/wnframework?hl=en.