Add a guide for non-Docker installations

This commit is contained in:
brufdev
2025-02-13 20:14:12 +00:00
parent 4c326929c7
commit d7871e96df
2 changed files with 75 additions and 0 deletions

View File

@@ -91,6 +91,12 @@ Many Notes must have the necessary permissions to access the shared paths. Since
docker compose up -d
```
## Installation (non-Docker)
**Read the [upgrading guide](UPGRADING.md) if you are upgrading from a previous version.**
Read the [non-Docker guide](docs/installation/non-docker.md) for the full instructions.
## Customization
You can customize Many Notes by adding environment variables to the `compose.yaml` file.

View File

@@ -0,0 +1,69 @@
# Installation guide
Here are the full instructions for a non-Docker installation.
## Requirements
PHP 8.4+, Composer, npm and Git
## Instructions
Clone the project:
```shell
git clone https://github.com/brufdev/many-notes.git
```
Install Composer dependencies
```shell
composer install --no-dev --optimize-autoloader
```
Install npm dependencies
```shell
npm install
```
Run the npm build
```shell
npm run build
```
Create .env file
```shell
cp .env.example .env
```
Generate application key
```shell
php artisan key:generate
```
Create caches to optimize the application
```shell
php artisan optimize
```
Create the symbolic link for Many Notes public storage
```shell
php artisan storage:link
```
Run the database migrations
```shell
php artisan migrate
```
Run the upgrade command
```shell
php artisan upgrade:run
```