Skip to content

Use Python, QuickBooks Online API, and Google Cloud Platform to easily and safely generate 4x6 labels that can be printed in any printer.

License

Notifications You must be signed in to change notification settings

ygalvao/label-generator-for-qbo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Label Generator for QBO

alt text

Description

This Flask-based web application is designed for generating 4x6 shipping labels using QuickBooks Online (QBO) data and it is optimized for deployment on Google Cloud Run.

Click here to see an example of a generated PDF for 3 labels (one for each box).

Quickstart

  1. Navigate to your local repository directory.
cd your-repository-path/
  1. Replace or edit all ".example" files.

  2. Choose either to deploy and run on Google Cloud or to run on your local machine and then proceed accordingly.

To deploy this application to Google Cloud Run:

Run the following command:

gcloud run deploy [DESIRED NAME FOR THE APP] --source . --region [DESIRED REGION] --allow-unauthenticated --memory 1G

Example:

gcloud run deploy label-generator --source . --region us-central1 --allow-unauthenticated --memory 1G

To run this application on your local machine:

Run the following commands:

pip install -r requirements.txt
python app.py --on-premises [--sandbox or --production]

Application Flags

--sandbox

The --sandbox flag is used to run the application on Intuit's (QBO) sandbox environment. This is typically used for testing and development purposes, where changes can be made and tested without affecting the production environment.

--on-premises

The --on-premises flag allows the application to be run on a local machine.

Note on .example Files

All ".example" files provided in this repository are templates. They should be either replaced or renamed without the ".example" extension - if you choose the second option, then moddify the content with the actual values relevant to your deployment.

About

Use Python, QuickBooks Online API, and Google Cloud Platform to easily and safely generate 4x6 labels that can be printed in any printer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published