This demo shows how to embed document signing into your Python application using Dropbox Sign API.
It has 2 branches: starter-template
and full-project
. The starter-template
branch contains the code to follow along with the article while the full-project
branch contains the fully implemented application.
-
Clone the repository:
git clone --single-branch -b starter-template https://github.com/kimanikevin254/dropboxsign-python-demo.git
-
cd
in the project folder:cd dropboxsign-python-demo
-
Create a virtual environment and activate it:
python3 -m venv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Rename
.env.example
file to.env
:mv .env.example .env
-
Set
FLASK_APP
andFLASK_DEBUG
environment variables:export FLASK_APP=app export FLASK_DEBUG=1
-
Run the application:
flask run