As I have been experiencing issues on my MSI laptop, I had to format a few times lately. This quick tutorial show you how to setup your Windows computer for web development. Getting all the tools properly installed is not as nearly as easy on Unix based systems like Ubuntu or OSX.
Open cmd.exe, Run as Administrator
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin
choco install ruby
choco install rubygems
choco install ruby2.devkit(If the install fails, please see http://stackoverflow.com/a/10695190)
gem install bundler jekyll wordmove
There are a bunch of console tools alternative to
cmd.exe. My favorite one is ConEmu. It doesn't include as many tools as Babun, but it works just perfectly for my workflow. Here is a list of the most maintained console tools (they are all maintained on Github):
choco install babun
choco install conemu
choco install cmder
choco install consolez
If you use Conemu, open the settings (
T) then go to Integration. Click the Register button and Conemu will be added to the Explorer context menu integration.
choco install php
choco install composer
choco install git.install
git config --global user.email "email@example.com"
git config --global user.name "Julien Vernet"
choco install nodejs.install
npm install -g bower gulp-cli grunt-cli surge
choco update all
Version 0.9.9+ of Chocolatey now does a real update of packages, instead of installing newer versions beside older ones.
Symbolic Links are just amazingly useful. Put it simply, symlinks are kind of shortcuts that softwares can actually follow (You can read more about it on wikipedia). Instead of constantly setting up backup tasks, you could take advantage of symlinks to point to your Dropbox folder (for instance).
I use sysmlink for my
.ssh folder that contains all my SSH keys. Everything is actually stored on my Dropbox folder, which is on another hard drive. I'm doing the same thing for my Sublime Text 3 Settings.
You could use a GUI like Symlinker, but I prefer to simply use the command line:
mklink /D "C:\Users\<yourusername>\.ssh" "D:\Dropbox\Apps Profiles\.ssh"
mklink /D "C:\Users\<yourusername>\AppData\Roaming\Sublime Text 3" "D:\Dropbox\Apps Profiles\Sublime Text 3"