![]() Now deploy your code: $ git push heroku mainĬompressing objects: 100% (204/204), done. Heroku generates a random name (in this case polar-inlet-4930) for your app, or you can pass a parameter to specify your own app name. When you create an app, a git remote (called heroku) is also created and associated with your local git repository. In this step you will deploy the app to Heroku.Ĭreate an app on Heroku, which prepares Heroku to receive your source code. You now have a functioning git repository that contains a simple application as well as a Gemfile file, which is used by Ruby’s dependency manager, bundler. #Ruby runner heroku codeTo clone the sample application so that you have a local version of the code that you can then deploy to Heroku, execute the following commands in your local command shell or terminal: $ git clone #Ruby runner heroku how toTo learn how to prepare it for Heroku deployment. However, if you have your own existing application that you want to deploy
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |