Here is a little guide on how to get some correct dev tools and environement along with some interesting ressources.
Please add your own as well!
In order to all have the same dev. environement to develop our application, we use Vagrant, a command-line virtualization tool. Here is a quick step by step:
- Download and install VirtualBox.
- Download and install Vagrant.
- Clone one of our repo. It will contains a
Vangrantfile
on the root, which contains all the virtualization configuration. Once your arecd
in your repository forlder, just run those commands:
# First, initiate and run your virtualisation box
vagrant up
# (please note that you will need to "up" your box every time you run your computer or after a certain timeout)
# Then, you can ssh into it
vagrant ssh
You will then be able to run commands into the right environement.
Important: your github folder containing the Vagrantfile
, will be accessible into your virtual box into the /vagrant/
forlder.
Those tools are more recommended than really required.
An amazing text editor with extensive capabilities, especially thanks to the package manager.
N.B.: The project capabilities of Sublime is amazingly useful.
- If you already have some files open from the same project, go to
Project>Save project as...
and save the file outside your github folder (it is personnal and therefore shouldn't be on a github repo). Then, you can go toProject>Add folder to project...
and select your project folder. It will appear on the left and allows you to access rapidly all your project files! - You can create/open another project. When you have multiple project, you can switch from one another with the shortcut
Cmd+ctl+p
. Sublime will remember all the files you had open. - The configuration through the whole project is useful as well, see the documentation. A good practice is to set the tab settings, here is an example:
{
"folders":
[
{
"path": "path/to/your/project"
}
],
"settings":
{
"tab_size": 4,
"translate_tabs_to_spaces": false
}
}
A waty better terminal for your mac.
Great shell improver. Usually already on your vagrant box. ;)