Skip to content

Running Civilizer in a more customized way

Suewon Bahng edited this page Mar 18, 2017 · 12 revisions

Currently, you can start Civilizer with:

βœ”οΈ Using a command prompt

  • run-civilizer.bat ( Windows Users )
  • run-civilizer.sh ( Other Unix like OS Users )
  • Options
    • -help, -h, -? : Show help message
    • -port number : Specify port number
    • -home path : Specify Private Home Directory
    • -cleanStart : Start the app with a clean empty DB (Since version 0.9.0.RC5)
      • ⚠️ Your previous data will be all gone. Make a backup first!
    • These are all optional parameters
  • Example
    • run-civilizer.sh -port 12345 -home "/Users/my-user-name/cvz-home"
    • This will start Civilizer with the port number 12345 and PHD of "/Users/my-user-name/cvz-home"
    • That means you need to access Civilizer at the URL http://localhost:12345/civilizer/app/home

βœ”οΈ Using Jetty Runner

  • Run the following command from the command line at the root of the installation directory

      java -Dcivilizer.private_home_path=[your-private-home-path] -jar extra/lib/jetty-runner.jar --config jetty.xml --port [your-port-number] --path /civilizer civilizer
    

⚠️ When you specify a different PHD, ensure that it is a fully qualified absolute path.

Clone this wiki locally