06-02-2013, 01:56 AM
Hi,
I'd like to open a thread where we can discuss and share experiences how to keep webERP updated via SVN.
The topic is rather new to me, so I'd like to share my newbie experiences, maybe this can help others, too.
I'm running webERP on a VPS server on CentOS 6, on my local laptop I'm running Linux Mint 15.
1) First things first: Installing SVN
Simple instructions for different Linux distros: http://subversion.apache.org/packages.html
For Linux Mint:
$ sudo apt-get install subversion
$ sudo apt-get install libapache2-svn
2) Basic Workflow
A good intro on YouTube: http://www.youtube.com/watch?NR=1&featur...mhN9C3C-2I
If you are in a rush, jump to 8:08 (Basic Workflow)
Basically it boils down to this:
- Create a folder where you want to get your webERP files from SVN. In my case, I put "webERP_svn" on my desktop.
Now the real deal starts, and I want to get the most current files
- In a terminal console, cd to this folder
- [link updated 2014/01/16] Command: svn checkout svn checkout http://svn.code.sf.net/p/web-erp/code/trunk
This downloaded a lot of files (I guess all of them) to my folder, but now I start having a couple of questions:
1) Am I using the correct link to the webERP Repository?
(https://web-erp.svn.sourceforge.net/svnr...es/stable/)
2) In order to keep my working installation up do date, could I use the webERP installation folder on my server directly and have the files updated automatically via "svn checkout"?
3) Or is it a better approach to make a local copy, and only replace file by file?
4) What happens when the next release (currently 4.10.1) is published? Could I then just update to the latest release (which I believe makes sense for consistency reasons).
Sorry for all these questions, but I'm trying to keep not only my own installation up to date, but several customer installations (on my server), too.
I hope this thread might also become useful for newbies "newer" than me
I'd like to open a thread where we can discuss and share experiences how to keep webERP updated via SVN.
The topic is rather new to me, so I'd like to share my newbie experiences, maybe this can help others, too.
I'm running webERP on a VPS server on CentOS 6, on my local laptop I'm running Linux Mint 15.
1) First things first: Installing SVN
Simple instructions for different Linux distros: http://subversion.apache.org/packages.html
For Linux Mint:
$ sudo apt-get install subversion
$ sudo apt-get install libapache2-svn
2) Basic Workflow
A good intro on YouTube: http://www.youtube.com/watch?NR=1&featur...mhN9C3C-2I
If you are in a rush, jump to 8:08 (Basic Workflow)
Basically it boils down to this:
- Create a folder where you want to get your webERP files from SVN. In my case, I put "webERP_svn" on my desktop.
Now the real deal starts, and I want to get the most current files
- In a terminal console, cd to this folder
- [link updated 2014/01/16] Command: svn checkout svn checkout http://svn.code.sf.net/p/web-erp/code/trunk
This downloaded a lot of files (I guess all of them) to my folder, but now I start having a couple of questions:
1) Am I using the correct link to the webERP Repository?
(https://web-erp.svn.sourceforge.net/svnr...es/stable/)
2) In order to keep my working installation up do date, could I use the webERP installation folder on my server directly and have the files updated automatically via "svn checkout"?
3) Or is it a better approach to make a local copy, and only replace file by file?
4) What happens when the next release (currently 4.10.1) is published? Could I then just update to the latest release (which I believe makes sense for consistency reasons).
Sorry for all these questions, but I'm trying to keep not only my own installation up to date, but several customer installations (on my server), too.
I hope this thread might also become useful for newbies "newer" than me