mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-10 19:33:56 -04:00
Update config
Source the configuration from an environment file, this way it is similar to how the aws environment works
This commit is contained in:
@@ -34,4 +34,5 @@ createdb notification_api
|
||||
createdb test_notification_api
|
||||
|
||||
# Upgrade databases
|
||||
source environment.sh
|
||||
python application.py db upgrade
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
python application.py runserver
|
||||
set -e
|
||||
|
||||
source environment.sh
|
||||
python3 application.py runserver
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
set -o pipefail
|
||||
|
||||
source environment_test.sh
|
||||
|
||||
function display_result {
|
||||
RESULT=$1
|
||||
EXIT_STATUS=$2
|
||||
|
||||
Reference in New Issue
Block a user