Browse Source

Deploy to a local Umbrel node

readme
Mayank 5 years ago
parent
commit
db89317091
  1. 20
      README.md
  2. 5
      package.json

20
README.md

@ -1,22 +1,32 @@
# Umbrel Dashboard UI
![live.getumbrel.com](https://github.com/getumbrel/umbrel-dashboard/workflows/live.getumbrel.com/badge.svg?branch=master)
## Project setup
## Install Dependencies
```
yarn install
```
### Compiles and hot-reloads for development
### Run locally
1. Run
```
yarn serve
```
2. Open http://localhost:8080/
### Compiles and minifies for production
### Deploy to a local Umbrel node
1. Run
```
yarn deploy-local
```
2. Enter SSH password of `umbrel` user
3. Visit http://umbrel.local/
### Compile and minify for production
```
yarn build
```
### Lints and fixes files
### Lint and fix files
```
yarn lint
```
```

5
package.json

@ -6,7 +6,8 @@
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"deploy": "vue-cli-service build && aws s3 sync ./dist s3://live.getumbrel.com"
"deploy": "vue-cli-service build && aws s3 sync ./dist s3://live.getumbrel.com",
"deploy-local": "vue-cli-service build && rsync -aP --delete dist/ umbrel@umbrel.local:/home/umbrel/nginx/www"
},
"dependencies": {
"animate.css": "^3.7.2",
@ -57,4 +58,4 @@
"> 1%",
"last 2 versions"
]
}
}
Loading…
Cancel
Save