Skip to content

Application Options for Civilizer

suewonjp edited this page Mar 18, 2017 · 9 revisions

"app-options.properties" file ( which is located under the Private Home Directory ) contains important application settings and options which you may modify to suit your needs

βœ”οΈ civilizer.db_file_prefix

  • A path to your database file.
  • The default value : database/civilizer
    • The default database file will be automatically created at [path to your Private Home Directory]/database/civilizer.h2.db.
  • Examples:
    • db/cvz will represent the DB file [path to your Private Home Directory]/db/cvz.h2.db
    • ~/personal-data/cvz will represent the DB file [path to Your Home Directory]/personal-data/cvz.h2.db
    • /opt/my-files/cvz will represent the DB file /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 will represent the DB file C:\personal-data\cvz.h2.db
      • ~/personal-data/cvz will represent the DB file (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 started.
  • Managing multiple database files is tricky (and not so recommended).
    • To switch to another database, you need to modify civilizer.db_file_prefix option for that database file and restart Civilizer.

βœ”οΈ civilizer.file_box_home

  • A path to File Box storage.
  • The default value : files
    • The default File Box directory will be automatically created to [path to your Private Home Directory]/files.

βœ”οΈ 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 (Since 0.9.0.RC7)

  • Specifies your locale & language parameter.
  • The default value : en (English language)
  • Other values :
    • ja (Japanese language)
    • ko (Korean language)
Clone this wiki locally