Simon Willison
407795b612
Initial unit tests against our Sanic app
...
Refs #50
I had to disable the build metadata function to get these tests to work
sensibly. I need to completely rethink how that mechanism works.
2017-11-11 09:47:59 -08:00
Simon Willison
e7e50875d3
Renamed to 'datasette'
2017-11-10 10:38:35 -08:00
Simon Willison
abb591d832
Added --reload argument to 'immutabase serve' command
...
Uses hupper to restart the server when the code changes. Useful for development.
Depends on https://pypi.python.org/pypi/hupper
2017-11-09 06:14:26 -08:00
Simon Willison
25c241fa5a
Renamed project to immutabase
2017-11-05 18:32:13 -08:00
Simon Willison
0ac8bbce2e
Default subcommand is now serve
...
Using click-default-group: https://github.com/click-contrib/click-default-group
Also removed requirements.txt in favour of setup.py
2017-11-04 16:53:50 -07:00
Simon Willison
be768f26d0
python setup.py test now runs the tests
2017-11-04 16:40:27 -07:00
Simon Willison
1592fd0419
Started work on cli, which also meant adding setup.py
...
I'm using click, and click recommends using a setup.py - so I've added one of
those. I also refactored code into a new datasite package. It's not quite
deploying to now properly at the moment though - I seem to have messed up the
path handling a bit.
Also snuck in a new template for the "Row" view.
Refs #40
2017-10-27 00:08:24 -07:00