Skip to content

Application Options for Civilizer

Suewon Bahng edited this page Jul 30, 2016 · 9 revisions

"app-options.properties" file ( which is located under the Private Home Directory ) contains application options to control various application behaviors.

civilizer.db_file_prefix
  • A path to your database file.
  • The default value : database/civilizer
  • So the database file will be automatically created to "[path to your Private Home Directory]/database/civilizer.h2.db" by default.
  • Examples:
  • db/cvz ➑️ [path to your Private Home Directory]/db/cvz.h2.db
  • ~/personal-data/cvz ➑️ [path to Your Home Directory]/personal-data/cvz.h2.db
  • /opt/my-files/cvz ➑️/opt/my-files/cvz.h2.db
  • [For Windows Users!!!]
    • Use / (slash) instead of \ (back slash). If you insist on using back slash, use \\ (double back slashes). A single \ won't work.
    • C:/personal-data/cvz ➑️ C:\personal-data\cvz.h2.db
    • ~/personal-data/cvz ➑️ (Mostly) C:\Users\[Your User Name]\personal-data\cvz.h2.db
    • Also, note that if you want to use non-English path, you might want to save app-options.properties file in UTF-8 encoding. (Use 'Save as' menu of Notepad.exe)
  • It's OK that you copy this database file to other machines or a cloud file system for backups or sharing it with your other devices.
  • Note that Civilizer only communicates to a single database file after it starts running.
  • So managing multiple different database files will become tricky (and not so recommended).
  • To switch to another database file, you need to switch this option to point to that location and restart Civilizer.
civilizer.file_box_home
  • A path to File Box storage.
  • The default value : files
  • So the File Box directory will be automatically created to "[path to your Private Home Directory]/files" by default.
civilizer.items_per_page
  • The maximum number of Fragments that a single page of a single Panel can present.
  • The default value : 10.
  • Increasing this value will retrieve more Fragments at a time, but your browser will consume more memory to render and manage them.
civilizer.locale
  • Specifies your locale parameter.
  • This option is yet to be supported.

Clone this wiki locally