butterrobot/Makefile
Felipe Martin Garcia 57b413dd1b
Added admin interface to manage channels and enabled plugins (#9)
* Added base admin login/logout flows

* Ignore local database

* Channel model

* Admin interface for channels and plugins

* Added database tests along with workflows

* Added some docstrings

* Ignore .coverage file

* Creating plugins docs WIP

* Documentation

* Black everything

* Some documentation

* Coverage for the plugins package as well

* DB Fixes

* Absolute FROM in Dockerfile

* Database and logging fixes

* Slack: Support private channels

* Added pre-commit

* black'd

* Fixed UserQuery.create

* Fixed ChannelPluginQuery.create exists call

* Added ChannelPlugin menu for debugging

* Ignore sqlite databases

* Updated contributing docs
2022-02-05 13:00:20 +01:00

27 lines
633 B
Makefile

# Local development
setup:
poetry install
podman@build:
podman build -t fmartingr/butterrobot -f docker/Dockerfile docker
podman@build-dev:
podman build -t fmartingr/butterrobot:dev -f Dockerfile.dev .
podman@tag-dev:
podman tag fmartingr/butterrobot:dev registry.int.fmartingr.network/fmartingr/butterrobot:dev
podman@push-dev:
podman push registry.int.fmartingr.network/fmartingr/butterrobot:dev --tls-verify=false
podman@dev:
make podman@build-dev
make podman@tag-dev
make podman@push-dev
test:
poetry run pytest --cov=butterrobot --cov=butterrobot_plugins_contrib
clean:
rm -rf dist
rm -rf butterrobot.egg-info