An express server that can serves WordPress menu.
Environment variables are declared in the menu-api-config.yaml
- prod environment variables are declared inside ansible
- On your terminal :
npm i(just the first time you run the project)- Connect to Openshift prod environment
oc port-forward service/wp-nginx 8000:80npm start
To run tests locally:
npm test (some test could fail if the site doesn't exist in prod environment)
Follow the doc at https://docs.google.com/document/d/11Kxg4IWH7tMZk_lxds5NsvrYTSU0Pr0PIfKgXcIv-6w/edit?pli=1&tab=t.0