mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Update makefile
This commit is contained in:
parent
f8ee858ad8
commit
80bae3608d
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -4,6 +4,9 @@ CURRENT_GID := $(shell id -g)
|
|||
|
||||
#creates newsblur, but does not rebuild images or create keys
|
||||
start:
|
||||
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d
|
||||
|
||||
rebuild:
|
||||
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose down
|
||||
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose up -d
|
||||
|
||||
|
@ -16,9 +19,10 @@ nb:
|
|||
- docker-compose exec newsblur_web ./manage.py migrate
|
||||
- docker-compose exec newsblur_web ./manage.py loaddata config/fixtures/bootstrap.json
|
||||
|
||||
shell:
|
||||
- - CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker-compose exec newsblur_web ./manage.py shellplus
|
||||
# allows user to exec into newsblur_web and use pdb.
|
||||
debug:
|
||||
# run `make nb-no-build` if this doesn't work
|
||||
- CURRENT_UID=${CURRENT_UID} CURRENT_GID=${CURRENT_GID} docker attach ${newsblur}
|
||||
|
||||
# brings down containers
|
||||
|
|
Loading…
Add table
Reference in a new issue