Topics Covered: Deploying to Heroku
All this time, purrings stayed local. Now that the kitties are armed with the power of heroku, it's time to unleash kitty creativity on to the web. Deploy your meowbook on heroku following the steps in the tutorials below.
First, setup your local environment for pushing to heroku. In order to do that, follow the tutorial here. Remember, software engineering is also a lot about reading documentations.
Next, to push your meowbook app to heroku, follow the steps listed in this Heroku tutorial.
Note:. You can ignore the documentation Web Server onward.
Since you're not creating a new app, add the gem 'pg', group: :production
line and also add gem 'sqlite3', group: :development
in the Gemfile of your meowbook.
Please also refer to the database.yml
file on Tasky to make sure the differences in your production and development mode are maintained. DON'T SIMPLY COPY PASTE CODE FOR THIS FILE off the the tutorial. You will run into errors.
Please see a TA if you're not able to get through these tutorials.
One of the best practices in Software engineering is to use Git to your advantage. That is why it was created in the first place. Here are some important tips:
git add .
, and git commit -m "message"
.Please checkin with a TA regarding your Project progress by the end of the day. This is just to help you keep in track as you steer forward in your projects.