More sensible default in env, more documentation how to install and run.
parent
66d048c70e
commit
5f61911a69
|
@ -21,14 +21,14 @@ LOG_STACK=single
|
||||||
LOG_DEPRECATIONS_CHANNEL=null
|
LOG_DEPRECATIONS_CHANNEL=null
|
||||||
LOG_LEVEL=debug
|
LOG_LEVEL=debug
|
||||||
|
|
||||||
DB_CONNECTION=sqlite
|
# DB_CONNECTION=sqlite
|
||||||
# DB_HOST=127.0.0.1
|
# DB_HOST=127.0.0.1
|
||||||
# DB_PORT=3306
|
# DB_PORT=3306
|
||||||
# DB_DATABASE=laravel
|
# DB_DATABASE=laravel
|
||||||
# DB_USERNAME=root
|
# DB_USERNAME=root
|
||||||
# DB_PASSWORD=
|
# DB_PASSWORD=
|
||||||
|
|
||||||
SESSION_DRIVER=database
|
SESSION_DRIVER=file
|
||||||
SESSION_LIFETIME=120
|
SESSION_LIFETIME=120
|
||||||
SESSION_ENCRYPT=false
|
SESSION_ENCRYPT=false
|
||||||
SESSION_PATH=/
|
SESSION_PATH=/
|
||||||
|
|
|
@ -1,8 +1,16 @@
|
||||||
# How to run
|
# Install
|
||||||
|
## Prerequisites
|
||||||
|
- In order to run this project please install all required software according to the laravel documentation: https://laravel.com/docs/11.x#installing-php
|
||||||
|
|
||||||
|
## Configuration & installation
|
||||||
|
- Make a copy of the .env.example to .env
|
||||||
|
- Run the following commands:
|
||||||
|
```bash
|
||||||
|
composer install && php artisan key:generate && npm i
|
||||||
|
```
|
||||||
|
|
||||||
|
# Run server
|
||||||
```bash
|
```bash
|
||||||
composer run dev
|
composer run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in New Issue