2020-08-01 16:14:47 +00:00
|
|
|
# API/Serveur - associations.espacecondorcet.org
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- Node.js >= 12.18.2
|
|
|
|
- Yarn >= 1.17
|
2020-07-11 22:42:00 +00:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2020-08-01 16:14:47 +00:00
|
|
|
Before using the server you have to install all the packages required
|
|
|
|
|
|
|
|
Use the `yarn install` command at the root (take a long time)
|
|
|
|
|
|
|
|
## Usage in a development environment
|
|
|
|
|
|
|
|
`yarn serve`
|
|
|
|
|
|
|
|
## Compilation before use in a production environment
|
|
|
|
|
|
|
|
`yarn build && yarn assets`
|
|
|
|
|
|
|
|
## Usage in a production environment
|
|
|
|
|
|
|
|
`yarn serve`
|