Skip to content

01 Setup (no Docker)

sec77 edited this page Sep 22, 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, best way is to use a php environment variable, you need to add this variable to your fpm config. For example add this line

env[NOTES_PATH] = MyVault

to your /etc/php/7.4/fpm/pool.d/www.conf to define MyVault as your vault folder, per default this is set to Demo. Alternative you can adjust the $rootDir = 'Demo'; in the helper.php to you vault folder name.


Server Requirements

  • NGINX or Apache
  • PHP 7.4 or 8.X

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