Upload to heroku without git

前端 未结 3 1422
南方客
南方客 2020-12-30 23:28

Im making a tiny web app, really just for personal testing, the app is built with php / mysql, i plan to host it on heroku, but i was wondering is it possible to host stuff

相关标签:
3条回答
  • 2020-12-31 00:05

    A current option recommended to replace heroku-push is heroku-builds.

    With it, you can use heroku builds:create to deploy the current working directory to a Heroku app, among other things.

    0 讨论(0)
  • 2020-12-31 00:06

    You can use https://github.com/ddollar/heroku-push and push directories without git.

    But I think git is better, because you can setup your repository local so your code is privat and source control isn't a worse thing even if you work alone. You may read this

    0 讨论(0)
  • 2020-12-31 00:07

    You can use a plugin heroku push that is built by one of the Heroku engineers. You can find it at https://github.com/ddollar/heroku-push. But there isn't a FTP style upload available if that's what you're looking for.

    Also, just because Heroku uses Git doesn't mean you have to have a Github account (since you mention having to have a premium account). All Github provides is an additional place to store your code if you are working on it in a team. There is absolutely NO REASON that you have to use github to use Heroku.

    UPDATE: Heroku recently introduced programmatic builds which let you deploy a TAR file directly to Heroku via their API. Read more at https://blog.heroku.com/archives/2013/12/20/programmatically_release_code_to_heroku_using_the_platform_api

    UPDATE2: Heroku have now introduced HTTP GIT - much simpler without having to deal with SSH keys and such like. Also, DropBox deployment is pretty neat.

    0 讨论(0)
提交回复
热议问题