Updated Home (markdown)
parent
09b5a6d900
commit
7bd6dafae6
13
Home.md
13
Home.md
|
@ -42,22 +42,13 @@ Grant folder permissions for webserver user
|
||||||
sudo chgrp -R www-data storage bootstrap/cache
|
sudo chgrp -R www-data storage bootstrap/cache
|
||||||
sudo chmod -R ug+rwx storage bootstrap/cache
|
sudo chmod -R ug+rwx storage bootstrap/cache
|
||||||
|
|
||||||
Start the local development server
|
|
||||||
|
|
||||||
php artisan serve
|
|
||||||
|
|
||||||
## Local Development
|
## 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://…. Node’s [http-server](https://www.npmjs.com/package/http-server) is recommended. To install:
|
To develop locally, you must run a local web server.
|
||||||
|
|
||||||
```
|
|
||||||
npm install -g http-server
|
|
||||||
```
|
|
||||||
|
|
||||||
To run:
|
To run:
|
||||||
|
|
||||||
```
|
```
|
||||||
http-server &
|
php artisan serve
|
||||||
```
|
```
|
||||||
|
|
||||||
This will start the server on <http://localhost:8080> from the current working directory.
|
This will start the server on <http://localhost:8080> from the current working directory.
|
Loading…
Reference in New Issue
Block a user