Setup environment
-
Follow the suite documentation to setup suitedocker:
-
run
make all-integrationsto get AC working
-
Have all repos of ME services in the same level as me-toolsmith so ../push-notification-service is working (can be improved later)
-
Always run the docker-compose commands in the root of ems-me-toolsmith
-
Take the
.env.example.composeand fill in the missing parts from your local suitedocker emsadmin (all marked with <text>) -
If you are not using the
.env.example.composetake care of the service names it has to match the name indocker-compose.yml -
Once all .env files are ready, build the images
-
set the
NPM_TOKENaccroding to the Push Readme -
make build(gonna take a while for the first time)
-
-
Init the services
-
make up- starts everything -
make create-db- create the postgres databases -
make create-vhosts- create rabbitmq vhosts -
make patch-db SERVICE=push- runs the migrations forpush -
make restart- to make sure all is good
-
-
Set suite integration
-
Escher keypool - should be there already because the key was needed in the .env file
-
Configuration integration-ID:
push-notification- copy from suitestage or demo -
make sure hostnames in 'Integration URLs' are localhost
-
{"sso_login":"http://localhost:9100/login", "iframe":"http://localhost:9100", "searchUrl": "http://localhost:9100/api/kommander/search?query=%query%","installUrl":"http://localhost:9100/api/configurations/install","adminStatisticsUrl":"http://localhost:9100/login?redirect_to=%2F%23%2Fadmin%2Fstatistics"}
-
-