This example repo consists of two parts
# install pips
pip install --no-cache-dir -r requirements.txt
- If necessary, create a Private Key
- Create
.env
file in project and add the following contents to file:
API_KEY=<PRIVATE_KEY>
# run all tests
pytest
# run a specific test
pytest -k 'test_delete_job'
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
- If necessary, create a Public Key
- Open
static/configureVouched.js
- Replace
<PUBLIC_KEY>
with your Public Key
FLASK_APP=server.py python -m flask run
In a browser, head to http://localhost:5000 to see the Vouched JS Plugin in action.
Feel free to modify any configurations in static/configureVouched.js
. Here is the full list of configuration options