Adding Postgres and ActiveRecord
Getting started - adding dependencies to your project
To begin writing code you’re going to want to get three things set up:
The next sections break these down a bit further and suggests what you might want to install.
An integrated development environment for writing code. This is the place where you’ll sculpt your projects.
Here’s some recommendations of IDE’s that you might choose:
Install Git. It’s great for managing source code and you’ll need it for submitting your work as part of this course.
The easiest way to do this is to install the GitHub Desktop Client. It’s available for both Windows and Mac OSX.
It’ll install the needed libraries and command line tools and you’ll get a nice interface to GitHub for your desktop too.
We’ll use Heroku for deploying our apps to a live public webserver where you can let any one interact with your Sinatra services.
First, sign up at: https://www.heroku.com. It’s free, with the option of adding on services. For this course you won’t need to do this though.
Install the Heroku Command line tools. They can be found here: https://devcenter.heroku.com/articles/heroku-cli#download-and-install
We’ll revisit this later when we’re ready to deploy.