Installation
Receipt Wrangler is designed to run contanerized, below we will go over how it is set up.
Step 1: Set up docker-compose.yaml
If you decide to use the built in proxy, the service names in the compose must remain as they are in the examples, otherwise the proxy will not work. The ports of each service are free to change, though.
Receipt Wrangler can be set up as either a monolithic app (all in one container), or as microservices (each part as its own container). Check out the examples to see which one is best suited for you.
Step 2: Set up config.prod.json
- This config needs to be in the directory that gets mounted to
/go/api/config
from thedocker-compose.yaml
above. - Simply run the compose stack to generate a stubbed out config file.
- See the config documentation for samples and explanations of each value.
Step 3: Add proxy in NPM Proxy Manager (Optional):
If you are using the proxy container in the docker compose stack, skip this step!
If you use npm proxy manager in your setup, we will describe below how it is setup. In general, this step allows us to access the frontend, and proxy frontend api calls to the api container.
Details Tab
Locations Tab
Step 4: Deploy
- With proxy:
- Deploy the docker compose stack, and point all traffic to the proxy container
- Without proxy:
- Deploy the docker compose stack, and point all traffic to the forntend container
Now it's time to wrangle!