R
R
rustf2017-08-31 13:20:15
Ruby on Rails
rustf, 2017-08-31 13:20:15

Why connect Github to Heroku?

Hello. I ran into a "developer's grief", we were developing a web application in ruby. Dragged out the project for 5 months instead of two weeks. I would have changed the developer, but I gave an advance payment to this ghoul, since he had difficulties, and he is a teacher at geekbrains.ru, in the end he trusted and was thrown into an advance payment, in short, I now cry from the heart)) But this is not the question. He connected his github https://yadi.sk/i/taLW5Dve3MUw3W (screenshot) to my herok
, plus, the application is hosted on his subdomain.
Can he do harm through his connected github?
Can I easily change its subdomain to my own domain?
Thanks in advance for your replies, I'm at a complete loss.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Petrov, 2017-08-31
@Mirkom63

I haven't worked with heroku. But logically, if you think logically, then ...
To get rid of the "dude", you need to pick up the files and the database.
The database is most likely stored on Heroku, there shouldn't be any problems.
Files can be taken from github or from a working project.
1) If there is no access to his github, then nothing.
2) I don't know if there is some kind of ftp on Heroku.... but on a regular server, you could go to the project folder and download all the files. On Heroku, I think, there should be such an opportunity ... It turns out that you are downloading files (of course, the history of git changes will be lost, perhaps, but the last working copy will at least be). Then these files are added to your git and continue to work. and unbind his account.
It is possible that in any case there is a working project on the git, and the uploaded files such as images that are loaded through the admin panel will be in some thread of the /public/system folder. Don't forget about them if the architecture is designed that way.
Most likely, I think through the terminal you can somehow connect to Herok and download the project completely. We need to dig in this direction.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question