Skip to content

01 Setup (no Docker)

sec77 edited this page Feb 2, 2023 · 17 revisions

Setup

Just put the content of the perlite directory in your web root directory, your notes should resident as a subfolder of perlite.

You need to define your vault root directory in perlite

  • Per default this is set to Demo, so Perlite will look for a vault folder "Demo"
  • Adjust the $rootDir = 'Demo'; in the helper.php to you vault folder name

To use a more "flexible" option you can use the NOTES_PATH php variable, for this you need to add this variable to your fpm config. For example add this

env[NOTES_PATH] = MyVault

to your /etc/php/7.4/fpm/pool.d/perlite.conf


Server Requirements

  • NGINX or Apache
  • PHP 7.4 or 8.1

also make sure you have installed the necessary PHP modules

  • PHP module mb_strings for the parsedown (apt install php-mbstring)
  • PHP module yaml_parse for the metadata (apt install php-yaml)

Clone this wiki locally