Simple APS viewer with python-django.
-
Clone the following repo.
-
Create a local virtual environment inside the root directory of the repo i.e
python3 -m venv venvin linux orpython -m venv venvin windows. -
Activate virtual environment in windows
.\venv\Scripts\activateorsource venv/bin/activatein linux. -
Install all the required dependencies as follows:
pip install -r requirements.txt. -
Create
.envfile and add the following environment variables.FORGE_CLIENT_ID='Your-Client-Id' FORGE_CLIENT_SECRET='Your-Client-Secret' FORGE_BUCKET='Optional-Bucket-Key' FORGE_REGION='US' i.e US RUN_SERVER_PORT=3009 DEBUG=False -
Then run the application as follows
python manage.py runserver.
You can test the application on Heroku.
Petr Broz
Harun G. | Autodesk Developer Advocate