Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 2.07 KB

README.md

File metadata and controls

74 lines (49 loc) · 2.07 KB

dico-topo-vue

The DicoTopo application

⚠️ (Install) / Launch first the API and Elasticsearch :
See the API Readme

Master dependencies:

Node

package - vue package - eslint

package - Vuetify package - Mirador

Project setup

Clone the GitHub repository:

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)

Install

yarn

Compiles and hot-reloads for development

For a local development server, reads .env.development variables:

yarn serve

Compiles and minifies for staging

For a staging server (preproduction), reads .env.staging variables:

yarn build:staging

Compiles and minifies for production

For a production server, reads .env.production variables:

yarn build:prod

Run preview server

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

Lints and fixes files

yarn lint
yarn lint-fix