mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-13 09:50:39 -04:00
Adding AWS code deploy files
- app spec file forms basis of application deploy - various AWS specific files to install dependencies and call upstart for start and stop application
This commit is contained in:
1
scripts/aws_install_dependencies.sh
Normal file
1
scripts/aws_install_dependencies.sh
Normal file
@@ -0,0 +1 @@
|
||||
pip install -r /home/ubuntu/notifications-api/requirements.txt
|
||||
5
scripts/aws_start_app.sh
Normal file
5
scripts/aws_start_app.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Starting application"
|
||||
cd ~/notifications-api/;
|
||||
sudo service notifications-api start
|
||||
5
scripts/aws_stop_app.sh
Normal file
5
scripts/aws_stop_app.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Stopping application"
|
||||
cd ~/notifications-api/;
|
||||
sudo service notifications-api stop
|
||||
Reference in New Issue
Block a user