Skip to content

Commit

Permalink
Merge pull request #425 from Kegbot/mikey/v13-dev
Browse files Browse the repository at this point in the history
Remove `KegbotBackend`; use native `JSONField`; fix up test fixtures
  • Loading branch information
mik3y authored Jul 19, 2022
2 parents 384d588 + 865f3d7 commit db72d57
Show file tree
Hide file tree
Showing 42 changed files with 24,624 additions and 104,634 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ docs/build
### pykeg
build
dist
test-db.sqlite
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fixtures: export KEGBOT_DATABASE_URL = sqlite:///test-db.sqlite
fixtures: export KEGBOT_BASE_URL = http://fixture.example.com/
fixtures: export KEGBOT_ENV = test
fixtures:
rm -f test-db.sqlite
bin/kegbot generate_fixtures
rm -f test-db.sqlite

.PHONY: fixtures
4 changes: 2 additions & 2 deletions docs/source/release-notes/version-13-release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ The release is
What's New
----------

Simplified configuration from envrionment
Simplified configuration from environment
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Previous releases required users to manage a ``local_settings.py`` file in the home
directory of the user running Kegbot. This made Kegbot hard to run in an environment
without a persistent disk (e.g. Heroku).

Now all configuration variables can be given as envrionment variables. Optionally,
Now all configuration variables can be given as environment variables. Optionally,
a greatly simplified configuration file formal is supported, replacing
``local_settings.py``.

Expand Down
47 changes: 31 additions & 16 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions pykeg/backend/__init__.py

This file was deleted.

Loading

0 comments on commit db72d57

Please sign in to comment.