Commit 94d79036 authored by Adrian's avatar Adrian

Merge branch 'develop' of gitlab.agetic.gob.bo:agetic/frontend-base-vue into develop

parents 205e25a4 dea9e383
......@@ -32,3 +32,33 @@ Siga los siguientes pasos:
``` bash
npm install
```
### Compilar para produccion
Exportar las variables para producción:
Seteando el ambiente:
```
export NODE_ENV=production
```
Seteando las urls:
```
export VUE_APP_FRONTEND=[URL_PRODUCCION_FRONTEND]
export VUE_APP_API_URL=[URL_PRODUCCION_BACKEND]
export VUE_APP_BASE_SERVER=[URL_PRODUCCION_BACKEND]
export VUE_APP_PUBLIC_PATH=[SUBDOMINIO]
```
Ejemplo:
```sh
export VUE_APP_FRONTEND=https://test.agetic.gob.bo/frontend_base
export VUE_APP_API_URL=https://test.agetic.gob.bo/backend_base/api/v1/
export VUE_APP_BASE_SERVER=https://test.agetic.gob.bo/backend_base/api/
export VUE_APP_PUBLIC_PATH=/frontend_base/
```
### Compilar para produccion
```
npm run build
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment