Browse Source

Deploy to a local Umbrel node

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

18
README.md

@ -1,22 +1,32 @@
# Umbrel Dashboard UI # Umbrel Dashboard UI
![live.getumbrel.com](https://github.com/getumbrel/umbrel-dashboard/workflows/live.getumbrel.com/badge.svg?branch=master) ![live.getumbrel.com](https://github.com/getumbrel/umbrel-dashboard/workflows/live.getumbrel.com/badge.svg?branch=master)
## Project setup ## Install Dependencies
``` ```
yarn install yarn install
``` ```
### Compiles and hot-reloads for development ### Run locally
1. Run
``` ```
yarn serve 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 yarn build
``` ```
### Lints and fixes files ### Lint and fix files
``` ```
yarn lint yarn lint
``` ```

3
package.json

@ -6,7 +6,8 @@
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"build": "vue-cli-service build", "build": "vue-cli-service build",
"lint": "vue-cli-service lint", "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": { "dependencies": {
"animate.css": "^3.7.2", "animate.css": "^3.7.2",

Loading…
Cancel
Save