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

Documentation for set up and deployment #8

Open
sanketgarade opened this issue Jan 2, 2022 · 3 comments
Open

Documentation for set up and deployment #8

sanketgarade opened this issue Jan 2, 2022 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@sanketgarade
Copy link
Contributor

Explain -

  • how to set up this repo and back-end in Heroku and how to link them.
  • how to deploy the bot whenever the code is updated.
@sanketgarade sanketgarade added the documentation Improvements or additions to documentation label Jan 2, 2022
@sanketgarade
Copy link
Contributor Author

setup

@vinodnimbalkar
Copy link
Collaborator

vinodnimbalkar commented Jan 4, 2022

how to deploy the bot whenever the code is updated.

Go to https://dashboard.heroku.com/apps/marathi-not-maharashtrian-bot/deploy/github
Choose a branch to deploy, select the main branch and Enable Automatic Deploys
image
Heroku will check new changes (push) in main branch and automatically deploy.

Create another branch named development at Github and set it as the default branch so whenever a new PR is created, it should be against the development branch. use development branch to solve merge conflict, to test code locally, etc. If everything looks good then merge/rebase development branch into main branch so it will deploy automatically to the production server.

@sanketgarade
Copy link
Contributor Author

धन्यवाद. नंतर readme.md मध्ये जोडेन.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants