Skip to content

Latest commit

 

History

History
73 lines (56 loc) · 1.74 KB

README.md

File metadata and controls

73 lines (56 loc) · 1.74 KB

QuickBooks

Prerequisites

1. Install Python

Install python-3.7.2 and python-pip. Follow the steps from the below reference document based on your Operating System. Reference: https://docs.python-guide.org/starting/installation/

2. Get oauth access token for developer account in QuickBooks

Reference: https://developer.intuit.com/app/developer/qbo/docs/build-your-first-app

Installing Application

1. Setup virtual environment

# Install virtual environment
sudo pip install virtualenv

# Make a directory
mkdir envs

# Create virtual environment
virtualenv ./envs/

# Activate virtual environment
source envs/bin/activate

2. Clone git repository

git clone "https://github.com/Manisha-Bayya/QuickBooks.git"

3. Install requirements

cd QuickBooks/
pip install -r requirements.txt

4. Edit project settings

# open settings file
vim quickbooks/settings.py

# Edit Access token.
# Search for ACCESS_TOKEN section.
# Paste your access token there.
ACCESS_TOKEN = 'xxxxxxxxxxxxxx'

# save the file

5. Run the server

# Make migrations
python manage.py makemigrations
python manage.py migrate

# Run the server
python manage.py runserver 0:8787

# your server is up on port 8787

Try opening http://localhost:8787 in the browser. Now you are good to go.

6. URLs

List of Invoices after giving company ID

Invoice details page