Ubuntu openerp package

Not sure whether you guys have seen this but there is a openerp package for ubuntu:
http://packages.ubuntu.com/lucid/openerp-server

It would be good to have one for webnotes f/w + erpnext too.


==============================================
Anand Jeyahar
https://sites.google.com/site/anandjeyahar
==============================================

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 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.

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)
Website: https://www.erpnext.com

On Fri, Aug 26, 2011 at 3:27 PM, anand jeyahar an...@gmail.com wrote:

Not sure whether you guys have seen this but there is a openerp package for
ubuntu:
Ubuntu – Error

It would be good to have one for webnotes f/w + erpnext too.

==============================================
Anand Jeyahar
https://sites.google.com/site/anandjeyahar

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 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.


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.






On 26 August 2011 15:34, Pratik Vyas <pd…@erpnext.com> wrote:

I had started that sometime back.

gitorious.org/wninstall


Hi checked it out(just code review, not testing either). Just a few observations, the apache folder layout is different in fedora vs ubuntu.
Ofcourse it is currently pointing to old svn repo.


Over the next couple of weeks, i'll see if i can test it.

Btw, why gitorious and not github??

(not tested, VMs on my computer are painful)


i suggested you try the schroot +rinse option(http://teddziuba.com/2011/01/multiple-concurrent-linux-distros.html). Last time i tried it was simpler. Though not sure it comes with all the perks as VMs, but think it might be feasible to test the installation on them…



This should make debian package and rpm package.

We will need a browser based page that runs the install.py


I haven't checked it exactly(syntax and standards) but ubuntu has this concept of post-install scripts. It may come in handy.

Thanks and Regards,
Anand Jeyahar






Pratik Vyas

Twitter : @pdvyas



ERPNext - World's most affordable ERP - (Rs 299 / $7 per user per month)

Website: https://www.erpnext.com







On Fri, Aug 26, 2011 at 3:27 PM, anand jeyahar <an…@gmail.com> wrote:

> Not sure whether you guys have seen this but there is a openerp package for

> ubuntu:

> http://packages.ubuntu.com/lucid/openerp-server

>

> It would be good to have one for webnotes f/w + erpnext too.

>

> ==============================================

> Anand Jeyahar

> https://sites.google.com/site/anandjeyahar

> ==============================================

> 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 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.

>





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.





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.

Hi checked it out(just code review, not testing either). Just a few
observations, the apache folder layout is different in fedora vs ubuntu.

My bad. Actually I was building the rpm in opensuse build service and
it was failing due to 777 permissions (the issue is solved now) . rpms
will have have slightly different apache conf.

On debian based systems, its a trend with webapps that they are stored
in /usr/share/lib

Ofcourse it is currently pointing to old svn repo.

Over the next couple of weeks, i’ll see if i can test it.

Btw, why gitorious and not github??

first love. and we were on google code at that time!

(not tested, VMs on my computer are painful)

i suggested you try the schroot +rinse
option(http://teddziuba.com/2011/01/multiple-concurrent-linux-distros.html).
Last time i tried it was simpler. Though not sure it comes with all the
perks as VMs, but think it might be feasible to test the installation on
them…

agreed

This should make debian package and rpm package.
We will need a browser based page that runs the install.py

I haven’t checked it exactly(syntax and standards) but ubuntu has this
concept of post-install scripts. It may come in handy.

Yes. I had given that a thought also and I dropped the idea (actually
you can ask questions also which appear in a nice ncurses interface,
ref : where you enter mysql password while installling). It would be
difficult to debug install issues.
Also talking of debian packages, this kind of a script does some work
by hand and runs the program that makes the binary debian package.
The traditional way of debian packaging is way more complicated but
mainly for programs that need to be compiled. Personally, the rpm SPEC
style is more pragmatic and easy.


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.

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)



On Fri, Aug 26, 2011 at 3:27 PM, anand jeyahar <an...@gmail.com> wrote:
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 post to this group, send email to wn...@googlegroups.com.
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.
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.


---------------------------------------------------------------------------------
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.

On Sat, Aug 27, 2011 at 10:27:56AM +0530, Rushabh Mehta wrote:

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

Agreed.

  1. 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
  2. Second will be the install script, that till untar, drop a file
    in conf.d for apache settings (on a separate port) - detail below:

Let’s also add an option, for the script to download latest dev branch code
or released stable tarball.

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)
  1. restore the dump (prompt the user for root password)
  2. cleanup the dump (add missing tables) and delete
    sync_with_gateway from tabSingles
  3. prompt user for the company name (its required) and set it in the
    control panel (tabSingles)
  4. move the module_icons.png to wnframework/images/user
  5. 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
  6. ensure the erpnext folders have write permissions (or else there
    will not be any .pyc files that will degrade performance)
  7. 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 just set up a github repo(gi...@github.com:anandjeyahar/erpnext_build.git). Copied Pratit’s shell scripts and modified conf. files a little.

Sorry, it’s the end of the weekend though. was caught up in another
project.

I think this can really kickstart the community as I feel there is a
lot of interest in erpnext!

Yep, infact, i would like to see us make it available through ubuntu
distribution channels(repositories/mirrors).


Thanks and Regards
Anand Jeyahar
anand jeyahar's profile | anandjeyahar

Sometimes the only way to move ahead is to put the cart b4 the horse.Especially, when you don’t know the difference between the cart and the horse.

			~Aang Jie


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.