Skip to content
Snippets Groups Projects
README.md 692 B
Newer Older
Timothee P's avatar
Timothee P committed
# geocontrib-frontend
Timothee P's avatar
Timothee P committed

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Timothee P's avatar
Timothee P committed


## Docker

Lancer un build
```
npm run build
```
Créér une image docker
```
docker-compose build
``` 
puis 
```
docker-compose push
```
Aller sur la VM geocontrib, (demander l'accès si besoin), aller dans ```/opt/geocontrib/[user]``` et ensuite :
```
docker-compose pull
```
et
```
docker-compose up -d
```

## Changement depuis django
- Base.html = App.js