Compare commits

..

No commits in common. "4e3b47e4eb39763ef96db08fcb4b31b9c27bc701" and "ba3bf31bb7c396270603b348b6a1d731dd9e47ea" have entirely different histories.

2 changed files with 3 additions and 13 deletions

View file

@ -110,7 +110,6 @@ php artisan db:seed --class=ExampleRecipesSeeder
| `FORCE_HTTPS` | If your server handles SSL termination, enforce HTTPS. | 0 | | `FORCE_HTTPS` | If your server handles SSL termination, enforce HTTPS. | 0 |
| `PHP_OPCACHE_ENABLE` | Enable PHP Opcache | 0 | | `PHP_OPCACHE_ENABLE` | Enable PHP Opcache | 0 |
| `TRMNL_IMAGE_URL_TIMEOUT` | How long TRMNL waits for a response on the display endpoint. (sec) | 30 | | `TRMNL_IMAGE_URL_TIMEOUT` | How long TRMNL waits for a response on the display endpoint. (sec) | 30 |
| `APP_TIMEZONE` | Default timezone, which will be used by the PHP date functions | UTC |
#### Login #### Login

View file

@ -1,4 +1,4 @@
## Local Development ### Local Development
#### Requirements #### Requirements
@ -19,12 +19,11 @@ cp .env.example .env
php artisan key:generate php artisan key:generate
``` ```
#### Install dependencies and Build frontend #### Install dependencies
```bash ```bash
composer install composer install
npm i npm i
npm run build
``` ```
#### Run migrations #### Run migrations
@ -33,12 +32,6 @@ npm run build
php artisan migrate --seed php artisan migrate --seed
``` ```
#### Link storage to expose public assets
```bash
php artisan storage:link
```
#### Run the server #### Run the server
To expose the built-in server to the local network, you can run the following command: To expose the built-in server to the local network, you can run the following command:
@ -47,9 +40,7 @@ To expose the built-in server to the local network, you can run the following co
php artisan serve --host=0.0.0.0 --port 4567 php artisan serve --host=0.0.0.0 --port 4567
``` ```
--- ### Docker
## Docker
Use the provided Dockerfile, or docker-compose file to run the server in a container. Use the provided Dockerfile, or docker-compose file to run the server in a container.
#### .devcontainer #### .devcontainer