-
-
Notifications
You must be signed in to change notification settings - Fork 139
01 Setup (no Docker)
sec77 edited this page Jan 28, 2023
·
17 revisions
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] = MyVaultto your /etc/php/7.4/fpm/pool.d/perlite.conf
also make sure you have installed the necessary PHP modules:
- NGINX or Apache
- PHP 7.4 or 8.1
- PHP module mb_strings for the parsedown (apt install php-mbstring)
- PHP module yaml_parse for the metadata (apt install php-yaml)
For links to other obisidian files:
You need to set Files & Links in the options from New link format to Relative path to file

⚠️ You must recreate the image links to take effect, you can use a Plugin for this!