Repository navigation
Deployment
saragilcas edited this page Apr 18, 2023
·
5 revisions
Currently we first test locally, running Yarn (UAT database).
We have the following online testing environments:
- https://dev.eyeseetea.com/mtm/, EyeSeeTea managed, so we can upload and share new versions quickly. It uses UAT database.
- https://apps-dev.who.int/malaria/maps/threats/, UAT WHO, so only privileged users can upload and see this website. It uses UAT database.
The prod environment is:
- https://apps.who.int/malaria/maps/threats/ (It uses PROD database)
For WHO deployments we need to specify the proper URL root and dev/prod version:
-
UAT: PUBLIC_URL=/malaria/maps/threats/ yarn build
-
PROD: PUBLIC_URL=/malaria/maps/threats/ yarn build-prod
For Eyeseetea deployments, we do:
- PUBLIC_URL=/mtm yarn build
- Upload the package to /var/www/html/mtm/build/ on our dev server