Merge pull request #30 from tandy-1000/patch-1

Add details on how to complete a manual install
This commit is contained in:
Bastian Meissner 2021-07-11 15:30:16 +02:00 committed by GitHub
commit f469c1de67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,6 +70,39 @@ $ yarn build
$ yarn serve:production
```
### Manual install
```bash
$ git clone https://github.com/phntxx/dashboard.git
$ cd dashboard/
$ yarn
$ yarn build
$ cp -R build/* .
```
#### `/etc/nginx/conf.d/dashboard.conf`
```
server {
server_name localhost;
listen 8080;
root /var/www/dashboard/html/;
location / {
index index.html index.htm;
}
}
```
```bash
$ cd ..
$ mkdir /var/www/dashboard
$ mv dashboard/ html
$ mv html/ /var/www/dashboard
$ chown -R www-data:www-data
$ systemctl nginx reload
```
## Configuration
There's a couple of things you can / need to configure to get Dashboard to look and behave just as you want it to.