| author | ymh <ymh.work@gmail.com> |
| Tue, 06 Jan 2015 17:53:55 +0100 | |
| changeset 33 | eb73a4e6881e |
| parent 20 | d47f8f8b3faf |
| permissions | -rw-r--r-- |
|
12
8ca7be41e3ca
Pylint + pep8 + adapted code to Python 3 + added support for authentication when persistence is set to PersistenceToFile + cleaning up settings.py/config.py.tmpl and updated readme
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
11
diff
changeset
|
1 |
""" |
|
8ca7be41e3ca
Pylint + pep8 + adapted code to Python 3 + added support for authentication when persistence is set to PersistenceToFile + cleaning up settings.py/config.py.tmpl and updated readme
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
11
diff
changeset
|
2 |
main.py: |
|
8ca7be41e3ca
Pylint + pep8 + adapted code to Python 3 + added support for authentication when persistence is set to PersistenceToFile + cleaning up settings.py/config.py.tmpl and updated readme
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
11
diff
changeset
|
3 |
script that is used to boot up the application |
|
8ca7be41e3ca
Pylint + pep8 + adapted code to Python 3 + added support for authentication when persistence is set to PersistenceToFile + cleaning up settings.py/config.py.tmpl and updated readme
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
11
diff
changeset
|
4 |
""" |
|
8ca7be41e3ca
Pylint + pep8 + adapted code to Python 3 + added support for authentication when persistence is set to PersistenceToFile + cleaning up settings.py/config.py.tmpl and updated readme
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
11
diff
changeset
|
5 |
from catedit import app |
|
0
54f4e0f9d636
Initial commit
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
diff
changeset
|
6 |
|
|
54f4e0f9d636
Initial commit
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
diff
changeset
|
7 |
if __name__ == '__main__': |
|
7
b3c03d54e144
Make host configurable from config.py (see settings.py) + changed id generation (using slugified labels instead of GUIDs)
Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
parents:
5
diff
changeset
|
8 |
app.run(host=app.config["HOST"]) |