The DicoTopo application
⚠️ (Install) / Launch first the API and Elasticsearch :
See the API Readme
Master dependencies:
in a local folder dedicated to the project
git clone https://github.com/chartes/dico-topo-vue.git
From the app folder (cd path/to/dico-topo-vue
)
yarn
For a local development server, reads .env.development
variables:
yarn serve
For a staging server (preproduction), reads .env.staging
variables:
yarn build:staging
For a production server, reads .env.production
variables:
yarn build:prod
After a yarn build:prod
or yarn build:staging
you can run a server to serve the produced dist
folder with:
cd dist/
python3 -m http.server
yarn lint
yarn lint-fix