浏览代码

Update README.md

Nick Sweeting 4 年之前
父节点
当前提交
cddbd8f63e
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      README.md

+ 10 - 0
README.md

@@ -639,6 +639,13 @@ archivebox config --set DEBUG=True
 archivebox server --debug ...
 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
 #### Run the linters
 
 
 ```bash
 ```bash
@@ -655,6 +662,7 @@ archivebox server --debug ...
 
 
 #### Make migrations or enter a django shell
 #### Make migrations or enter a django shell
 
 
+Make sure to run this whenever you change things in `models.py`.
 ```bash
 ```bash
 cd archivebox/
 cd archivebox/
 ./manage.py makemigrations
 ./manage.py makemigrations
@@ -666,6 +674,7 @@ archivebox shell
 
 
 #### Build the docs, pip package, and docker image
 #### 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
 ```bash
 ./bin/build.sh
 ./bin/build.sh
 
 
@@ -679,6 +688,7 @@ archivebox shell
 
 
 #### Roll a release
 #### Roll a release
 
 
+(Normally CI takes care of this, but these scripts can be run to do it manually)
 ```bash
 ```bash
 ./bin/release.sh
 ./bin/release.sh