Commit Graph

173 Commits

Author SHA1 Message Date
Brian S. Stephan 1f420eab30 journal: render markdown content + title metadata
this has a really basic template and whatnot at the moment, so
styling/etc isn't done, but this is maybe the last major piece before I
could actually see pushing this onto the site
2020-03-07 12:06:21 -06:00
Brian S. Stephan 0118eb2994 improve the logging inside pytest 2020-03-07 11:45:42 -06:00
Brian S. Stephan 053e3d96a3 attempt to load resolved journal files
one step closer to actual functionality, attempt to load the resolved
markdown file in the instance directory, or 404 if it doesn't exist
2020-03-07 10:08:23 -06:00
Brian S. Stephan 3f22b56c09 prepend 'journal/' to resolved files
this is where the markdown files will go inside the instance dir
2020-03-07 09:50:03 -06:00
Brian S. Stephan d98a0a7935 more organic test cases for journal_file_resolver 2020-03-07 09:47:26 -06:00
Brian S. Stephan 2d3a5c10aa add .md in journal_file_resolver
I'm confident enough that this is what I want to do for resolving
content, at least at the moment
2020-03-07 09:45:00 -06:00
Brian S. Stephan 1d446436ad use module name as name for journal Blueprint 2020-03-07 09:42:07 -06:00
Brian S. Stephan 308eaffe55 more verbose pytest output by default 2020-03-07 09:28:01 -06:00
Brian S. Stephan 17bbe9c6b4 allow explicit instance_path in create_app()
this will be necessary to point pytest's app fixture at a different
instance directory with test data
2020-03-07 09:24:20 -06:00
Brian S. Stephan d9c4cbdfe1 .gitignore only the root instance/ flask dir
we will eventually have tests, and we won't want to ignore our test data
inside instance/
2020-03-07 09:22:47 -06:00
Brian S. Stephan 11073b4811 add method to convert .*/ paths to .*/index 2020-03-07 08:37:38 -06:00
Brian S. Stephan 76bdc28a9f add setup.py with versioneer support 2020-03-07 00:29:17 -06:00
Brian S. Stephan f3d895e25b add versioneer to requirements-dev 2020-03-07 00:15:14 -06:00
Brian S. Stephan 1788e56262 add pytest to requirements, re-indent .in files 2020-03-06 23:44:20 -06:00
Brian S. Stephan 592f3e90b0 remove a debugging print statement 2020-03-06 22:51:04 -06:00
Brian S. Stephan 7d23b15043 log all incoming requests 2020-03-06 19:53:29 -06:00
Brian S. Stephan 1c3d745a1a remove accidental excess from requirements files 2020-03-06 19:31:06 -06:00
Brian S. Stephan ded784219e skeleton journal functionality --- catch-all view
all this does at the moment is echoes the path from the request back in
the response, but it's the super basic plumbing I can write at the
moment
2020-03-06 18:08:24 -06:00
Brian S. Stephan 10f9322a1d basic flake8 configuration in setup.cfg 2020-03-06 17:58:09 -06:00
Brian S. Stephan a28f27206b basic create_app() and configuration scaffolding 2020-03-06 17:51:20 -06:00
Brian S. Stephan aa8bce1521 .gitignore: *.swp 2020-03-06 17:18:03 -06:00
Brian S. Stephan 950e9f485e requirements: Flask, pip-tools (dev), flake8 (dev) 2020-03-06 17:17:29 -06:00
Brian S. Stephan 9569e62a8a Initial commit 2020-03-06 16:55:41 -06:00