This commit is contained in:
Milos Stojanovic
2019-06-18 16:07:18 +02:00
parent fff29ef124
commit 310da23496
5 changed files with 27 additions and 38 deletions

View File

@@ -1,5 +1,7 @@
## Project setup for development
## Project setup for development (Linux)
You must have ```git```, ```php```, ```npm```, and ```composer``` installed.
```
git clone git@github.com:filegator/filegator.git
@@ -12,7 +14,9 @@ npm install
npm run build
```
## Compiles and hot-reloads (backend and frontend on ports 8081 and 8080)
## Compiles and hot-reloads
The following command will launch backend and frontend on ports 8081 and 8080:
```
npm run serve
@@ -28,5 +32,5 @@ vendor/bin/phpstan analyse ./backend
## Deployment
Set the website document root to ```/dist``` directory.
Set the website document root to ```/dist``` directory. This is also known as 'public' folder.