A lightweight web service to generate USPS first class mail envelope with a traceable barcode.
- Generate a ready-to-print envelope pdf and html
- Support both #10 Envelope and 4in*2in label
- The envelope has a traceable barcode
- Show status of your first class mail without certify!
-
Move
app/config.py.example
toapp/config.py
-
config your USPS Web Tools API username, Business Gateway username and Password Guide
-
config a Flask session key
-
Config your redis server address
- Modify the docker file to meet your need
CMD ["gunicorn", "app:app", "--workers", "4", "--worker-class", "app.ConfigurableWorker", "--bind", "0.0.0.0:8080", "--forwarded-allow-ips",""]
- Define the path and the port
docker-compose up -d
- Open
http://localhost:8080/envelope/
in your browser