deployment

master
alicestrt 6 years ago
parent 8a0c6bfcd1
commit dfd841e64c

@ -27,3 +27,9 @@ npm run lint
### Customize configuration ### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/). See [Configuration Reference](https://cli.vuejs.org/config/).
### Deployment
```
make publish
```
Don't forget to uncomment the vue.config.js lines!

@ -0,0 +1,12 @@
DEST := /var/www/food.alicestrete.me
REMOTE := kstraat
RSYNC := rsync -chavzP --rsync-path="sudo rsync"
SRC := dist/*
SSH := ssh -t
BUILD := npm run build
build:
$(BUILD)
publish: build
$(RSYNC) $(SRC) $(REMOTE):$(DEST)

@ -3,9 +3,7 @@
@import url('https://fonts.googleapis.com/css?family=Inconsolata&display=swap'); @import url('https://fonts.googleapis.com/css?family=Inconsolata&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap'); @import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
* {
border: 1px solid black;
}
h3 { h3 {
margin-top: 40px; margin-top: 40px;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;

Loading…
Cancel
Save