Skip to content

Instantly share code, notes, and snippets.

@neogis-de
Forked from dwins/start_clean_gs.sh
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neogis-de/fa344c91f8aa4c66eece to your computer and use it in GitHub Desktop.
Save neogis-de/fa344c91f8aa4c66eece to your computer and use it in GitHub Desktop.
# 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