Software Development

Dev Tools: How To Setup A Development Environment

Posted by Adam

I thought it might be an idea, mainly for personal use, to keep notes on my system setup for my development environment.

Undoubtedly, at some point in the future, there will be a time when the laptop on which I’m writing this dies – probably suddenly and without warning – and I’m required to replicate the setup on a new machine.

Essential tools

Install all tools from here.

GitHub commands

To push to repo, line one puts file in staging area, line 2 commits it, line 3 sends it to the repo.

$ git add file
$ git commit -m "message here"
$ git push -u origin master

RSpec – for testing code. Rspec should be installed in the root directory of any given project.

$ gem install rspec

In Summary

cd ~/Projects
mkdir nameofproject
cd nameofproject
git init
gem install rspec

Leave A Comment