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

add deploy to heroku button #467

Merged
merged 6 commits into from
Dec 21, 2017
Merged

Conversation

pangaunn
Copy link
Contributor

@thinkingserious thinkingserious added the status: code review request requesting a community code review or review from Twilio label Oct 12, 2017
USE_CASES.md Outdated
## Heroku
Use the button below to instantly setup your own Simple instance for sending email using sendgrid on Heroku.

<a href="https://heroku.com/deploy?template=https://github.com/pangaunn/sendgrid-php-heroku">
Copy link
Contributor

Choose a reason for hiding this comment

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

We need this URL to be hosted in this repo. Could you please make the necessary changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok will do.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@thinkingserious Are you ok if I push codes in another branch? I have read the heroku document it said it must be root folder, but it supports another branch.

Copy link
Contributor

Choose a reason for hiding this comment

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

How about putting the code in /examples/deploy/heroku-hello-email/.

If that does not work, then a branch could work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've created new branch in my forked repository. Could you please create new branch here? so I can make a pull request to new branch.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've tried to make it in subfolder like you said. It will mess up your composer.json. We also need to add 2 files in root directory (Procfile and app.json). So I think new branch would be cleaner in this case.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link

@mbernier mbernier left a comment

Choose a reason for hiding this comment

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

It looks like there is a need for an app.json file that tells Heroku about the application we want to deploy.

Heroku Deploy Screenshot

Can you please add this file with the appropriate info in it?

@pangaunn
Copy link
Contributor Author

@mbernier As I discussed with @thinkingserious . I've created another PR that has heroku instance detail #477 .

@mbernier
Copy link

@pangaunn I missed the conversation, it was compressed. Thanks for the heads up!

@thinkingserious
Copy link
Contributor

@pangaunn

We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt.

Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!)

You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!

Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged.

@pangaunn
Copy link
Contributor Author

pangaunn commented Nov 3, 2017

Thanks @thinkingserious

@thinkingserious thinkingserious merged commit fb5fd8e into sendgrid:master Dec 21, 2017
@thinkingserious
Copy link
Contributor

Hello @pangaunn,

Thanks again for the PR!

We appreciate your contribution and look forward to continued collaboration. Thanks!

Team SendGrid DX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants