Created
March 17, 2010 20:19
-
-
Save dwins/335681 to your computer and use it in GitHub Desktop.
Shell commands to start up GeoServer with a fresh datadir every time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run in the geoserver webapp dir: | |
cd geoserver/src/web/app/ | |
# If you use SVN | |
rm -rf /tmp/release | |
svn export ../../../data/release/ /tmp/release/ | |
mvn jetty:run -DGEOSERVER_DATA_DIR=/tmp/release/ | |
# if you use git-svn | |
git clean -xdf -- ../../../data/release/ | |
git checkout -f -- ../../../data/release/ | |
mvn jetty:run -DGEOSERVER_DATA_DIR=../../../data/release/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment