Files
many-notes/docs/installation/non-docker.md
T
2025-02-26 21:17:21 +00:00

1.4 KiB

Installation guide (non-Docker)

Read the upgrading guide if you are upgrading from a previous version.

The Docker method is recommended because it is faster and simpler to set up. However, if you prefer a non-Docker installation, here are the full instructions.

Requirements

PHP 8.4+, Composer, npm and Git

Instructions

Clone the project:

git clone https://github.com/brufdev/many-notes.git

Install Composer dependencies

composer install --no-dev --optimize-autoloader

Install npm dependencies

npm install

Run the npm build

npm run build

Create the SQLite database

touch database/sqlite/database.sqlite

Create .env file

cp .env.example .env

Generate application key

php artisan key:generate

Create caches to optimize the application

php artisan optimize

Create the symbolic link for Many Notes public storage

php artisan storage:link

Run the database migrations

php artisan migrate

Run the upgrade command

php artisan upgrade:run

The way to customize Many Notes in a non-Docker installation is to add/update the variables in the .env file at the root of the project. The only exception is customizing the upload size limit, which needs to be changed in your PHP settings. Read the customization section before continuing.