Files
test_OgureNG/node/frontend-react/README.md
2022-11-08 21:21:49 +01:00

86 lines
1.2 KiB
Markdown

# frontend-react
## pre-requis
- node-v14.18.3 (nodejs, npm, ...) disponible avec chemin identifie dans $PATH
- packages npm
1. déposés sur registry (medusa) pour install
2. ou extraits depuis .tar.gz
voir install/README.md section frontend-react
### install
````bash
npm install
// test ok avec node v14.18.3
// note : test ko avec v16.x : TODO: comprendre pourquoi il est impossible d'aller au bout...
````
### serve (dev mode)
````bash
npm run start3
````
### build (4prod)
````bash
npm run build:prod
````
## serve nginx (4prod)
TODO: à vérifier
````bash
cd frontend-react
sudo cp -rf _dist /usr/share/nginx/html/.
````
## qui participe au builf final ?
TODO: à vérifier
public
tinymce
js
...
index.html
src
assets
css
images
favicons
fonts
FONTES.woff2
i18n
styles
static
frontend
assets
images
ogure.png
< + build >
assets
css
donnees-de-...
images
marques
SVG...
static
media
FONTES.woff2
index.html
main.js
main.js.LICENCE.txt
templates
frontend
index.html