Skip to content

Commit

Permalink
Merge pull request #70 from gcivil-nyu-org/master-deploy-config
Browse files Browse the repository at this point in the history
Master branch deploy config
  • Loading branch information
Shihuihuang1103 committed Mar 8, 2024
2 parents 0d79eb2 + b8ec53c commit dbc5d70
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
13 changes: 12 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,15 @@ deploy:
env: "app-env"
bucket_name: "elasticbeanstalk-us-west-2-381492260474"
on:
branch: develop
branch: develop

deploy:
provider: elasticbeanstalk
access_key_id: $access_key_id
secret_access_key: $secret_access_key
region: "us-west-2"
app: "TutorNYU-production"
env: "production-env"
bucket_name: "elasticbeanstalk-us-west-2-381492260474"
on:
branch: master
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Team Project repo
## Develop:
[![Build Status](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2.svg?branch=develop)](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2) [![Coverage Status](https://coveralls.io/repos/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2/badge.svg?branch=develop)](https://coveralls.io/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2?branch=develop)
[![Build Status](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2.svg?branch=develop)](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2) [![Coverage Status](https://coveralls.io/repos/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2/badge.svg?branch=develop)](https://coveralls.io/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2?branch=develop)

App Integration url: [app-env.eba-ndymim3f.us-west-2.elasticbeanstalk.com](http://app-env.eba-ndymim3f.us-west-2.elasticbeanstalk.com/)

## Master:
[![Build Status](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2.svg?token=6HgZsGCnodk6i6zYsYKA&branch=master)](https://app.travis-ci.com/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2) [![Coverage Status](https://coveralls.io/repos/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2/badge.svg?branch=master)](https://coveralls.io/github/gcivil-nyu-org/INT2-Monday-Spring2024-Team-2?branch=master)

App Production url: [production-env.eba-t4ppput2.us-west-2.elasticbeanstalk.com](http://production-env.eba-t4ppput2.us-west-2.elasticbeanstalk.com/)
6 changes: 5 additions & 1 deletion TutorNYU/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = ["app-env.eba-ndymim3f.us-west-2.elasticbeanstalk.com", "127.0.0.1"]
ALLOWED_HOSTS = [
"app-env.eba-ndymim3f.us-west-2.elasticbeanstalk.com",
"production-env.eba-t4ppput2.us-west-2.elasticbeanstalk.com",
"127.0.0.1",
]


# Application definition
Expand Down

0 comments on commit dbc5d70

Please sign in to comment.