mirror of
https://github.com/brufdev/many-notes.git
synced 2026-02-05 01:39:47 -06:00
Add a guide for non-Docker installations
This commit is contained in:
@@ -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.
|
||||
|
||||
69
docs/installation/non-docker.md
Normal file
69
docs/installation/non-docker.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user