Sample backend for the-allocator
- Either build or pull
the-allocator
image
- Check
the-allocator
usage
- Copy
config/the-allocator-config-sample.json
toconfig/the-allocator-config.json
and edit if needed
- if the development server is not
localhost
, replacelocalhost
with the IP of your host as seen from the browser
- check
docker-compose.yml
- if the volume binding in the
docker-compose.yml
is kept to use the development folder, make sure to runmake install
in the dev folder.
- Run
docker-compose up --force-recreate -d
(checkdocker-compose.yml
). What this does is:
- Run
the-allocator
with the localthe-allocator-config.json
mounted inwww
- Run this backend
- Could be done with docker:
docker run --rm --name the-allocator-backend-sample -p 6544:80 -v $(pwd)/www:/usr/share/nginx/html:ro nginx:alpine
- Open http://localhost:6543 in a browser. The
EADS
should be detected