Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucaterre committed Apr 30, 2024
1 parent dd68e7d commit ed1c78b
Showing 1 changed file with 46 additions and 8 deletions.
54 changes: 46 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,63 @@
# endp-vue
# e-NDP Vue

[![e-NDP Vue Node.js CI](https://github.com/chartes/endp-vue/actions/workflows/node.js.yml/badge.svg)](https://github.com/chartes/endp-vue/actions/workflows/node.js.yml)

[![VueJS Framework](https://img.shields.io/badge/Vue.js-35495E?style=for-the-badge&logo=vuedotjs&logoColor=4FC08D)](https://vuejs.org/)


## Project setup

**Note : NodeJS 21.1.0 (using nvm to manage your NodeJs version)**

```
npm install
npm install --legacy-peer-deps
```

### Compiles and hot-reloads for development

```
npm run serve
```

### Compiles and minifies for production
### Run linter (Opt.)
```
npm run build
npm run lint
```

### Lints and fixes files
### Run tests (Opt.)
```
npm run lint
npm run test::unit
```

## Deployment

1. Go to `vue.config.js` and check the line :

- in dev
```js
publicPath: process.env.NODE_ENV === 'production' ? "/endp" : "/"
```

- in production
```js
publicPath: process.env.NODE_ENV === 'production' ? "/" : "/"
```

2. Go to `.env.production.local` (create it if it doesn't exist - check template `.env.development` or `.env.production`) and check the lines

3. Build the project using the following command :

```bash
npm run build
```

4. Send the `dist/` folder to the server using `scp`

-------------------

e-NDP Vue is developed at the Mission projets numériques, École nationale des chartes - PSL.

<img src="./src/assets/partners_logo/anr.png" width="200" align="right">


### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
Ce travail a bénéficié d’une aide de l’État gérée par l’Agence Nationale de la Recherche portant la référence [ANR-20-CE27-0012](https://anr.fr/Projet-ANR-20-CE27-0012) dans le cadre du projet "Notre-Dame de Paris et son cloître: les lieux, les gens, la vie – E-NDP".

0 comments on commit ed1c78b

Please sign in to comment.