Skip to content

Arrotech/aps-viewer-python-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APS Viewer with Python-Django

Simple APS viewer with python-django.

How to run the application

  1. Clone the following repo.

  2. Create a local virtual environment inside the root directory of the repo i.e python3 -m venv venv in linux or python -m venv venv in windows.

  3. Activate virtual environment in windows .\venv\Scripts\activate or source venv/bin/activate in linux.

  4. Install all the required dependencies as follows: pip install -r requirements.txt.

  5. Create .env file 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
    
  6. Then run the application as follows python manage.py runserver.

Heroku Deployment

You can test the application on Heroku.

Contributors

Petr Broz

Author

Harun G. | Autodesk Developer Advocate

About

Simple forge viewer with python-django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published