diff --git a/app.py b/app.py index ddf2def..7709315 100644 --- a/app.py +++ b/app.py @@ -4,10 +4,10 @@ from todo import todos from boards import board_list from threads import threads_lists from threads_with_posts import open_threads +from arango import ArangoClient import socket - app = Flask(__name__) assets = Environment(app) @@ -23,6 +23,13 @@ js.build() + +arango_client = ArangoClient(hosts='http://localhost:8529') +db = arango_client.db('board1', username='root', password='rootpassword') + +boards = db.collection('boards') + + @app.route('/liveness') def healthx(): diff --git a/templates/posts.html b/templates/posts.html index ec76c02..38a7473 100644 --- a/templates/posts.html +++ b/templates/posts.html @@ -55,18 +55,19 @@ 954x960 + +
+
+ 954x960 +
+
+ {% endfor %}
>>15135633 (OP)
-
-
- 954x960 -
-
- {% for pic in thread.pic_links %}