fediverse-blocklist-tool/DEVELOPMENT.md

18 lines
543 B
Markdown
Raw Normal View History

# Development Guide
## Docker
In order to have a common development environment, its nice to use docker. Its quite easy. To build a new image, simply run
`docker build . -t fediverse_blocklist_tool`
Now you can execute any commands using
`docker run --rm fediverse_blocklist_tool --help`
If you want to avoid building new containers for each change, simply mount your code into the container using
`docker run --rm -v $(pwd):/app fediverse_blocklist_tool`
Please be aware that changes to the package itself require a rebuild anyways.