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

How to further develop via git after deploying? #15

Closed
esafwan opened this issue Sep 20, 2021 · 2 comments
Closed

How to further develop via git after deploying? #15

esafwan opened this issue Sep 20, 2021 · 2 comments

Comments

@esafwan
Copy link

esafwan commented Sep 20, 2021

When deployed via the button in this repo, I am unable to get the git access to further customize & develop the application.
For example the command heroku git:clone -a APP-NAME returns an empty repo.

However, as per doc, I was able to download code using the below command:

heroku slugs:download -a APP-NAME

But the download is not a git repo. What is the right method to continue development once the deployment is done? For example, how can I make changes in the code or install a new plugin or update the version of ghost deployed to heroku via this repo?

@thelovekesh
Copy link
Owner

You do not need to download your code from Heroku. Heroku deployment architecture only provides you an environment to run the code. It does not add or delete anything from your code. If you have deployed a Ghost blog website using the Deploy button then you can simply follow the mentioned steps:

  1. Git clone this repo.
  2. Make the changes/edits to the code according to your needs.
  3. Change the remote origin of the repo using the command heroku git:remote -a [app name] (in this case your Heroku app git URL)

Do not forget to change app name with your real app name.

  1. Push the changes to Heroku

If you want any help regarding setting up a super-fast publishing platform then you can drop an email at this address - codebulbsio@gmail.com

@esafwan
Copy link
Author

esafwan commented Sep 29, 2021

Thanks for the update.

@esafwan esafwan closed this as completed Sep 29, 2021
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

No branches or pull requests

2 participants