mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-06 03:13:42 -05:00
Switch to 'make' for running app processes
These are simple enough that they don't need their own scripts.
This commit is contained in:
4
Makefile
4
Makefile
@@ -22,6 +22,10 @@ VIRTUALENV_ROOT := $(shell [ -z $$VIRTUAL_ENV ] && echo $$(pwd)/venv || echo $$V
|
||||
|
||||
## DEVELOPMENT
|
||||
|
||||
.PHONY: run-flask
|
||||
run-flask:
|
||||
. environment.sh && flask run -p 6012
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
@cat $(MAKEFILE_LIST) | grep -E '^[a-zA-Z_-]+:.*?## .*$$' | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
|
||||
|
||||
@@ -127,7 +127,7 @@ Your aws credentials should be stored in a folder located at `~/.aws`. Follow [A
|
||||
In the root directory of the application, run:
|
||||
|
||||
```shell
|
||||
./scripts/run_app.sh
|
||||
make run-flask
|
||||
```
|
||||
|
||||
Then visit [localhost:6012](http://localhost:6012)
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
source environment.sh
|
||||
flask run -p 6012
|
||||
Reference in New Issue
Block a user