File tree Expand file tree Collapse file tree 5 files changed +26
-0
lines changed
Expand file tree Collapse file tree 5 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -183,3 +183,6 @@ nohup.out
183183tests /.jmeter *
184184dbs /
185185* .pid
186+
187+ # Show be an executable of the webhook server
188+ infra /webhook
Original file line number Diff line number Diff line change @@ -95,3 +95,11 @@ fix: check-venv ## Run code formatters
9595
9696watch-sass :
9797 @/bin/find -type d -name ' scss' -not -path ' */staticfiles/*' | xargs -P 0 -l -i bash -c ' sass --watch "$$1:$${1:0:-5}/css"' - ' {}'
98+
99+ # ########
100+ # Infra #
101+ # ########
102+
103+ webhook-server :
104+ cd infra
105+ nohup ./webhook -hooks hooks.yaml -verbose &
Original file line number Diff line number Diff line change 55![ image] ( https://user-images.githubusercontent.com/18076967/131153731-0196375e-b650-4b0f-b188-f20b2eba37f1.png )
66
77
8+ ## Notes
9+
10+ - Postgres 15+ is mandatory for NULLS NOT DISTINCT indexes
11+ - [ webhook-server] ( https://github.com/adnanh/webhook/releases )
12+
813## Installation requirements
914
1015- PostgreSQL(and ` libpq-dev ` )
Original file line number Diff line number Diff line change 1+ - id : redeploy-webhook
2+ execute-command : " ../scripts/redeploy-hook.sh"
3+ command-working-directory : " ./"
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Script to redeploy data stuff and rq worker. Used by server's webhook server on push
4+
5+ git fetch --all
6+ git reset --hard " origin/$( git branch --show-current) "
7+ docker-compose --profile prod up -d --build && docker-compose stop web
You can’t perform that action at this time.
0 commit comments