front
This commit is contained in:
85
frontend-react/README.md
Normal file
85
frontend-react/README.md
Normal file
@@ -0,0 +1,85 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user