From cddbd8f63e7ce6d646e3c9f9a55047a6b1b434a3 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 30 Jan 2021 02:38:44 -0500 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7e0363a8..19196b4f 100644 --- a/README.md +++ b/README.md @@ -639,6 +639,13 @@ archivebox config --set DEBUG=True archivebox server --debug ... ``` +### Build and run a Github branch + +```bash +docker build -t archivebox:dev https://github.com/ArchiveBox/ArchiveBox.git#dev +docker run -it -v $PWD:/data archivebox:dev ... +``` + #### Run the linters ```bash @@ -655,6 +662,7 @@ archivebox server --debug ... #### Make migrations or enter a django shell +Make sure to run this whenever you change things in `models.py`. ```bash cd archivebox/ ./manage.py makemigrations @@ -666,6 +674,7 @@ archivebox shell #### Build the docs, pip package, and docker image +(Normally CI takes care of this, but these scripts can be run to do it manually) ```bash ./bin/build.sh @@ -679,6 +688,7 @@ archivebox shell #### Roll a release +(Normally CI takes care of this, but these scripts can be run to do it manually) ```bash ./bin/release.sh