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