Current time: 06-18-2024, 11:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
How to setup a server to follow development?
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #23
RE: How to setup a server to follow development?
To update your local tree instead of downloading it all each run (saves resources on you AND the isp-control svn server!) you only need to replace the download block with this one and adjust the TRUNK_DIR variable:

Code:
# TRUNK_DIR now specifies the path to the ispcp folder, not it's parent
TRUNK_DIR="/usr/src/ispcp"

#download/update trunk
if [ -d ${TRUNK_DIR} ]; then
        cd ${TRUNK_DIR}
        svn up
else
        mkdir -p ${TRUNK_DIR}
        svn checkout http://www.isp-control.net/ispcp_svn/trunk/ ${TRUNK_DIR}
        cd ${TRUNK_DIR}
fi
05-16-2008 02:29 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to setup a server to follow development? - kilburn - 05-16-2008 02:29 AM

Forum Jump:


User(s) browsing this thread: 8 Guest(s)