Commit Graph

205 Commits

Author SHA1 Message Date
f0e6aaa32e
Correctly rig up the Nginx part of deployment. 2018-11-18 19:00:57 +01:00
4d6d761915
Bind to port 5000 with gunicorn. Less frequently used. 2018-11-18 18:50:53 +01:00
a8a646b1c7
Quote those values. 2018-11-18 18:47:27 +01:00
1a0057510d
Add a vaulted secret key for the flask application. 2018-11-18 18:45:53 +01:00
7551054bd5
Move upload folder to static defaults.
I can configure this path on the SyncThing side, so it is
fine for it to be in the application source folder for now.

Potentially easier to arrange backup as well.
2018-11-18 18:45:23 +01:00
5c5c632165
Ignore the environment file for sure. 2018-11-18 18:45:08 +01:00
107d41b459
Finish up the Ansible deployment. 2018-11-18 18:33:40 +01:00
14df5f3875
First steps at the Ansible role. 2018-11-18 13:54:44 +01:00
28dff36daf
Remove molecule from here.
We provide documentation in the `ansible/` directory on how to install
it and run the tests. I imagine many people won't do that, so better to
remove it from here.
2018-11-18 13:54:05 +01:00
6bea76accb
Remove docker, just us plain RQLite.
Also a number of small changes to get this all to work.
2018-11-18 13:25:47 +01:00
5c56aeca09
Arrange custom scripts for running applications. 2018-11-18 12:27:26 +01:00
0f76d1acad
Get dummy test suite in place.
At least isort/pylava are passing.
2018-11-18 11:58:22 +01:00
c84cfef0fe
Remove test view. 2018-11-18 11:39:32 +01:00
21d94dc626
Auto-generate a secret key for development mode. 2018-11-18 11:36:20 +01:00
0157faa8db
Make scrolling message conditionally include information.
This fixes a number of Nonetype accessing bugs when things
are not present in the database. Have manually tested this for
now.
2018-11-18 11:31:21 +01:00
d99ca13ab4
Add docker note for development notes. 2018-11-18 11:14:52 +01:00
b20e880db3
Setup application factory and dev/prod files.
Also some style fixes in there.
2018-11-18 11:13:56 +01:00
2399a25ce9
Sort packages. Add scripts. Add dev-packages. 2018-11-18 11:13:33 +01:00
351a2bc42a
Don't forget eventlet (for socketio production). 2018-11-17 22:48:34 +01:00
d9d00aab93
Get some new READMEs in place. Add Ansible placeholder. 2018-11-17 21:39:21 +01:00
416dfc2cef
Add development server script. 2018-11-17 21:30:08 +01:00
d2a1134c57
Being pedantic with commas, capitalisation and spacing. 2018-11-17 21:03:59 +01:00
4b2aa0afcb
Use new xppl name in the ignore file.
Remove other files which are not present now.
2018-11-17 20:57:45 +01:00
02c4ebac9d
Re-ignore rqlite* files. We'll be putting them here. 2018-11-17 20:55:58 +01:00
419df9c429
Let's use Pipenv for our dependency manager. 2018-11-17 20:41:24 +01:00
a2b35726d9
Let's use the name of the app for the app. 2018-11-17 20:41:17 +01:00
202398983c
Remove all the chaotic non-essential files.
They'll come back once I start to figure out where things go but for
now, I just want to get a minimial setup without all this noise.
2018-11-17 20:04:41 +01:00
5f4b5f3993
Run the style checker over the source. 2018-11-17 20:04:02 +01:00
2462c8e01e
Remove test cruft. 2018-11-17 19:03:12 +01:00
9d8228f91c added rqlite install instructions 2018-07-20 13:53:37 +02:00
Alex
845ea5827b no grid 2018-06-14 11:40:21 +02:00
Alex
ad06a13bb6 interfaces updated 2018-06-14 11:06:22 +02:00
nberting
1b9baec128 changed datetime.utcnow() to datetime.now() to give local time 2018-06-13 23:09:43 +02:00
Alex
0b70070c1f Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib 2018-06-13 20:29:38 +02:00
Alex
7678a838dc default covers fix 2018-06-13 20:29:25 +02:00
1acf4cc157 changes in annotations again 2018-06-13 20:06:45 +02:00
822747f428 Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib 2018-06-13 20:05:20 +02:00
249fd90373 changes in annotations 2018-06-13 20:04:54 +02:00
Alex
28301aa037 Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib 2018-06-13 19:50:59 +02:00
Alex
c2cec30113 update import 2018-06-13 19:50:55 +02:00
nberting
e158a23f4e latest upload >> latest entry 2018-06-13 19:37:13 +02:00
nberting
74db0e3a57 got rid of id in import_csv 2018-06-13 19:33:27 +02:00
nberting
be41426018 fixed light=light missing in some routes 2018-06-13 18:17:59 +02:00
Jocavdh
90b8585027 CSS for autocomplete extracted from jquery-ui css and included in general css 2018-06-13 16:57:31 +02:00
c874ec5da8 Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib 2018-06-13 16:49:26 +02:00
8b8c64a2d2 edited getannot.py 2018-06-13 16:49:14 +02:00
64c2d4f87c fixed a conflict with annot 2018-06-13 16:45:51 +02:00
e89232cf33 removed jquery styling 2018-06-13 16:44:29 +02:00
nberting
a446da6c03 Merge branch 'master' of git.xpub.nl:/var/www/git.xpub.nl/repos/xpub-lib 2018-06-13 15:27:40 +02:00
nberting
cb6e05ec36 styling 2018-06-13 15:27:34 +02:00