NOTE: THIS SERVICE IS NO LONGER RELEVANT!
Swaptacular micro-service that manages payments
It implements several public `Dramatiq`_ actors (see
swpt_payments/actors.py
), and a very simple web API (see
swpt_payments/routes.py
).
Install Docker and Docker Compose.
Install RabbitMQ and either create a new RabbitMQ user, or allow the existing "guest" user to connect from other hosts (by default, only local connections are allowed for "guest"). You may need to alter the firewall rules on your computer as well, to allow docker containers to connect to the docker host.
To create an .env file with reasonable defalut values, run this command:
$ cp env.development .env
To start the containers, run this command:
$ docker-compose up --build -d