-
-
Notifications
You must be signed in to change notification settings - Fork 108
01 Setup (no Docker)
sec77 edited this page Jul 8, 2024
·
11 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, 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.
- follow the Required Obsidian Settings
- follow the Graph Setup
you can also follow this tutorial for a step by step solution: https://blog.nihilism.network/selfhosting/perlite/index.html
- 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)