Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#162163258 Setup and deploy base application to Heroku #8

Merged
merged 10 commits into from
Nov 30, 2018

Conversation

bibangamba
Copy link
Collaborator

@bibangamba bibangamba commented Nov 29, 2018

What does this PR do?

This pull request allows for Heroku deployment and enables creation of a review app on each pull request created

Description of tasks to be completed?

  • Install gunicorn and add it to requirements.txt
  • Add a Procfile to the root directory, contents will enable Heroku run the application
  • Add app.json file that heroku uses to configure the review apps generated after a pull request

How should this be tested?

  • Go to the web app and navigate to the admin page (since it's the only one that works currently)
  • Note The review apps require the app.json file to be on the default branch (develop), if this pull request is merged to develop, all the open pull requests will have review apps created for them. This will be shown with a link added to the pull request pointing to the deployed review app.

What are the relevant pivotal tracker stories

#162163258

Screenshots

This screenshot shows the working /admin page of the deployed app
image

This screenshot shows the pipeline and the different environments. ah-backend-athena-staging (STAGING) deploys from the develop branch while ah-backend-athena (PRODUCTION) deploys from the master branch
image

Deploy the base django application to heroku and enable
review apps for each pull

[Delivers #162163258]
Deploy the base django application to heroku and enable
review apps for each pull
Add app.json which is required to enable review apps

[Delivers #162163258]
Deploy the base django application to heroku and enable
review apps for each pull
Add app.json which is required to enable review apps
Add django-heroku to manage static files

[Delivers #162163258]
Deploy the base django application to heroku and enable
review apps for each pull
Add app.json which is required to enable review apps
Added .keep files to static folders so git can track them
Removed django-heroku lib and and configs

[Delivers #162163258]
Deploy the base django application to heroku and enable
review apps for each pull
Add app.json which is required to enable review apps
Added django-heroku lib and config

[Delivers #162163258]
Deploy the base django application to heroku and enable
Review apps for each pull
Add app.json which is required to enable review apps
Added .keep files to static folders so git can track them
Removed django-heroku lib and and configs
Added AllowedHosts list

[Delivers #162163258]
    Deploy the base django application to heroku and enable
    Review apps for each pull
    Add app.json which is required to enable review apps
    Added .keep files to static folders so git can track them
    Removed django-heroku lib and and configs
    Added AllowedHosts list

    [Delivers #162163258]
Deploy the base django application to heroku and enable
Review apps for each pull
Add app.json which is required to enable review apps
Added .keep files to static folders so git can track them
Removed django-heroku lib and and configs
Added AllowedHosts list

[Delivers #162163258]
    Deploy the base django application to heroku and enable
    Review apps for each pull
    Add app.json which is required to enable review apps
    Added .keep files to static folders so git can track them
    Removed django-heroku lib and and configs
    Added AllowedHosts list

    [Delivers #162163258]
Deploy the base django application to heroku and enable
Review apps for each pull
Add app.json which is required to enable review apps
Added .keep files to static folders so git can track them
Removed django-heroku lib and and configs
Added AllowedHosts list

[Delivers #162163258]
@Kasulejoseph
Copy link
Collaborator

Awesome.. thanks for the good work

@Nta1e
Copy link
Contributor

Nta1e commented Nov 30, 2018

Good work

Copy link
Contributor

@kafuuma kafuuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work andrew
Put the link to the heroku app in the Readme file also

@joshtrigger
Copy link
Contributor

great work andrew

@collin5 collin5 merged commit 7c2dd54 into develop Nov 30, 2018
@collin5 collin5 deleted the ch-heroku-deploy-162163258 branch November 30, 2018 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants