Updated Home (markdown)

Arno Kaimbacher 2020-06-22 16:10:56 +02:00
parent 09b5a6d900
commit 7bd6dafae6

13
Home.md

@ -42,22 +42,13 @@ Grant folder permissions for webserver user
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Start the local development server
php artisan serve
## Local Development
Browsers enforce strict security permissions to prevent you from reading files out of the local file system. To develop locally, you must run a local web server rather than using file://…. Nodes [http-server](https://www.npmjs.com/package/http-server) is recommended. To install:
```
npm install -g http-server
```
To develop locally, you must run a local web server.
To run:
```
http-server &
php artisan serve
```
This will start the server on <http://localhost:8080> from the current working directory.