In the project root folder, launch the npm install:
npm install
The configurations are located in the src/environments folder of the project. Edit the file correponding to your environment by setting the right baseUrl for the CEL api. For prod, the config should be located at <prj_folder>/src/environments/environments.ts. When installing the app, the configuration mainly deals in adapting API URL and auth info (API key, app ID).
This is the case for the CEL API and plantnet services (which are proxied by a CEL Web service) with the following root entries:
- api
- plantnet
That's also the case for tela other API with the following root entries:
- algolia
- chorodep
- identiplante
- eflore
- sso
- mapBgTile
Almost done, the app.absoluteBaseUrl entry value should be adapted.
The following entries shoud not change from one install to another but a quick check could be useful, especially for the following root entries:
- telaWebSite
- app.helpUrl
- app.importTemplateUrl
ng s -c local
If the app is not located at the root of the app server, please add the corresponding "base-href" parameter (don't forget the ending slash...). For example:
ng build --prod --base-href /appli:cel/
Note: the --prod build mode is a bit touchier than the "standard" (dev) build...
Use rsync like:
rsync -av dist/cel2-client/ user@server:/home/user/www/cel-ng/