|
b8356f7a87
|
Add "application" alias to API object
By default gunicorn looks for an "application" object to run, so this
saves us having to type api:app.
|
2018-10-28 11:14:21 +02:00 |
|
|
2136dc79ce
|
Remove shebang from indexer.py
This is run as a Python module now so does not need a shebang.
|
2018-10-28 11:14:21 +02:00 |
|
|
ed60120cef
|
Remove executable bit from indexer.py
Now it is run as a Python module.
|
2018-10-28 11:14:21 +02:00 |
|
|
c027f01b48
|
Refactor project structure
This follows guidance from several well-known Python best practices
guides. Basically, the idea is create a package for the application
that is comprised of several re-usable modules.
See: https://docs.python-guide.org/writing/structure/
See: https://realpython.com/python-application-layouts/
|
2018-10-28 11:14:21 +02:00 |
|