mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-06 23:05:10 +01:00
12 lines
310 B
Python
12 lines
310 B
Python
# Activate virtualenv
|
|
import settings
|
|
activate_this = getattr(settings, 'VENV', None)
|
|
if activate_this:
|
|
execfile(activate_this, dict(__file__=activate_this))
|
|
|
|
from digimarks import app as application
|
|
|
|
if __name__ == "__main__":
|
|
# application is ran standalone
|
|
application.run(debug=settings.DEBUG)
|