blender-my-data/404ba012e2a7master
blender-my-data/
404ba012e2a7master
/
/
README.md
README.md
Blender Mydata
Public open data portal for benchmark results
Requirements
- The example config expects a running version of Blender Opendata under
http://mydata.local for development. We don't have a production version yet.
- You also need a APP-ID and APP-SECRET from Blender ID
or your local version of Blender ID (http://id.local)
Development setup
After cloning the Git repo, perform these steps to create a working dev server:
0. git submodule init and git submodule update
- copy mydata/__settings.py to mydata/settings.py and adjust to your needs
- Start your virtaulenv with pipenv shell
- Install requirements with pipenv install
- Setup database docker-compose up or provide a database in .env
- Run migrations ./manage.py migrate
- Install frontend dependencies ./gulp
- Run application ./manage.py runserver
- Configure Blender ID to have an OAuth Client with redirect URL http://mydata.local:8003/complete/blender-id-oauth2/
Try it out
- Submit an example benchmark with a valid Blender ID access_token
$ sh examples/example.sh examples/benchmark.json your-blender-id-token You have to create the access_token manually at the moment since we don't have an authorized benchmark tool yet
- Open running application in Browser, login with Blender ID and manage your benchmarks.