Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1.05 KB

README.md

File metadata and controls

15 lines (14 loc) · 1.05 KB

the-allocator-backend-sample

Sample backend for the-allocator

Usage

  1. Either build or pull the-allocator image
  • Check the-allocator usage
  1. Copy config/the-allocator-config-sample.json to config/the-allocator-config.json and edit if needed
  • if the development server is not localhost, replace localhost with the IP of your host as seen from the browser
  1. check docker-compose.yml
  • if the volume binding in the docker-compose.yml is kept to use the development folder, make sure to run make install in the dev folder.
  1. Run docker-compose up --force-recreate -d (check docker-compose.yml). What this does is:
  • Run the-allocator with the local the-allocator-config.json mounted in www
  • 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
  1. Open http://localhost:6543 in a browser. The EADS should be detected