A web application fully integrated with QuickBooks Online to manage ABR's bike repair shop.
A Single Page Application that guides the staff through the entire estimate process for bike repair service.
A web app that prints labels (pdf) via QuickBooks inventory. It uses WeasyPrint for the pdf generation and python-quickbooks for the api.
There's a Dockerfile
which builds all the dependencies and can be deployed to any container host provider.
QuickBooks authentication details need to be provided via environment variables.
A dynamic listing of all active/complete/pending repairs
Supports the management & tracking of vendor orders.
Copy/create the .env.template
file to .env
which docker-compose.yml
reads.
cp .env.template .env
Then edit .env
accordingly.
Login to VPS and run:
# pull updated image
docker-compose pull abr
# restart app
docker-compose up -d --force-recreate abr
# create super user
python manage.py createsuperuser
To test production settings locally:
- add abr-dev.com to
/etc/hosts
since QBO doesn't allow "localhost" callbacks for the oauth process - supply production environment variables for redis url, qbo client & secret
Define production env vars:
export QBO_CLIENT_ID=XXX
export QBO_CLIENT_SECRET=XXX
export REDIS_URL=redis://XXX
Run local ssl server:
python manage.py runsslserver abr-dev.com:8080