fediverse-blocklist-deploy/DEVELOPMENT.md

18 lines
549 B
Markdown
Raw Permalink 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
2023-07-26 12:43:34 +02:00
`docker build . -t fediverse_blocklist_deploy`
Now you can execute any commands using
2023-07-26 12:43:34 +02:00
`docker run --rm fediverse_blocklist_deploy --help`
If you want to avoid building new containers for each change, simply mount your code into the container using
2023-07-26 12:43:34 +02:00
`docker run --rm -v $(pwd):/app fediverse_blocklist_deploy`
Please be aware that changes to the package itself require a rebuild anyways.