The following instructions will help you to get ready for Le Wagon Data Bootcamp:
- Install Python via Anaconda (a distribution for the Data Scientist)
- Install a text editor, where you'll spend your day and nights
- Setup your terminal
- Setup git and GitHub
Anaconda is the world's most popular data science platform.
Go to anaconda's website and click on "Windows" then "Download" under Python 3.7 version.
A little popup will appear at the bottom of the page, click on "Run".
A new window will appear, it is the Anaconda3 installer. Click on "Next".
Accept the License Agreement by clicking on "I Agree".
Click on "Next".
Leave the default installation location, click on "Next".
Check "Add Anaconda to my PATH environment variable" and click on "Install"
When it says "Completed", click on "Next".
Click on "Next".
Finally, uncheck the two options and click on "Finish".
Anaconda3 is now installed!
A text editor is one of the most important tools of a developer.
Go to Sublime's website and click on "Download for Windows"
A little popup will appear at the bottom of the page, click on "Run".
A new window will appear, it is the Sublime Text 3 installer. Click on "Next".
Click on "Next".
Click on "Install".
Click on "Finish".
Have you signed up to Github? If not do it right away.
👉 Upload a picture and put your name correctly on your Github account. This is important as we'll use an internal dashboard with your avatars. please do it now.
Git bash will allow you to run some linux command on Windows. Go to Git-SCM and click on "Windows".
Click on "Next".
Leave the default installation folder and click on "Next".
Leave the default components qnd click on "Next".
Leave the default name "Git" and click on "Next".
In the dropdown, choose your new favorite text editor "Use Sublime Text as Git's default editor" and click on "Next".
Click on "Next".
Once again, click on "Next".
Guess what? Click on "Next" :)
"Nexttttt!".
"Again!".
And again! Just kidding, click on "Install".
Lastly, check "Launch Git Bash", uncheck "View Releave Notes" and click on "Finish".
The Git Bash terminal should open.
Please run the following command:
curl -Ls https://raw.githubusercontent.com/lewagon/data-setup/master/.bash_profile > .bash_profile
exitReopen Git bash and run the following command:
conda init bashThen run this one:
conda activate baseLet's install two tools will need to tests our Python code ;)
pip install pytest pylint ipdbIf you have an error, try the same command again replacing pip with conda. Otherwise, please ask a TA.
To make sure Python is properly installed, please run the following command:
python -iYou should get an answer like
Python 3.7.3 (default...To exit this check please run
exit()Lastly, let's create the directory where you will do the exercices.
Don't blindly copy paste this line, replace replace_this_with_your_github_username with your
own github usernickname.
export GITHUB_USERNAME=replace_this_with_your_github_username
# Example:
# export GITHUB_USERNAME=ssaunierThen run:
mkdir -p ~/code/$GITHUB_USERNAMEWe need to generate SSH keys which are going to be used by Github to authenticate you. Think of it as a way to log in, but different from the well known username/password couple. If you already generated keys that you already use with other services, you can skip this step.
Open a Git Bash terminal and type this, replacing the email with yours (the same one you used to create your GitHub account). It will prompt for information. Just press enter until it asks for a passphrase.
mkdir -p ~/.ssh && ssh-keygen -t ed25519 -o -a 100 -f ~/.ssh/id_ed25519 -C "TYPE_YOUR_EMAIL@HERE.com"NB: when asked for a passphrase, put something you want (and that you'll remember),
it's a password to protect your private key stored on your hard drive. You'll type,
nothing will show up on the screen, that's normal. Just type the passphrase,
and when you're done, press Enter.
Then you need to give your public key to GitHub. Run:
cat ~/.ssh/id_ed25519.pubIt will prompt on the screen the content of the id_ed25519.pub file. Copy that text,
then go to github.com/settings/ssh. Click on
Add SSH key, fill in the Title with your computer name, and paste the Key.
Finish by clicking on the Add key green button.
To check that this step is completed, in the Git Bash terminal run this. You will be
prompted a warning, type yes then Enter.
ssh -T git@github.comIf you see something like this, you're done!
# Hi --------! You've successfully authenticated, but GitHub does not provide shell accessIf it does not work, try running this before trying again the ssh -T command:
ssh-add ~/.ssh/id_ed25519Don't be in a rush, take time to read this article to get a better understanding of what those keys are used for.
Let's go back to Sublime Text and install some packages that will help us to create better code.
Press the windows key + R at the same time to open the "Run" tool. Type the command:
%USERPROFILE%\AppData\Roaming\Sublime Text 3\Packages\UserClick on "OK"
A new Explorer window should open, it should be empty. Right click and chose "Git Bash here".
A new Git Bash terminal will open. Please copy the following command:
curl -Ls https://raw.githubusercontent.com/lewagon/dotfiles/master/Preferences.sublime-settings > Preferences.sublime-settingsLaunch Sublime Text 3.
Install package controll via the Command Palette (Ctrl + Shift + P) and type Install Package Control. Type Enter and wait a few seconds. You should get an alert telling you package control has been successfully installed.
Now we can install the package MagicPython.
You can install a package via the Command Palette (Ctrl + Shift + P) then type Install package,

Then type the name of the package you want to install and press Enter.

Make is a build automation tool that build executable.
Go to this url
Locate "make-4.2.1-without-guile-w32-bin.zip"
Click on it. Your download should start shortly. A popup will appear at the bottom. Click on "Save".
When the download is done you will be prompted with another popup, click on "Open folder".

Right click on it and chose "Extract All".
Click on "Extract".
A new explorer window should open showing you the extracted folders.
Select all the folders and right click and choose "Copy".
Press the windows key + R at the same time to open the "Run" tool. Type the command
explorer.exe "C:\Program Files\Git\mingw64"Click on "OK".
A new windows should open with folders already in it. Right click and chose "Paste". It will paste the folders you've extracted before into this folder. If it ask you for admin rights, press "Continue". Your folder should now look like this:
To make sure "Make" is properly installed, please Click on "Start" in the bottom left corner.
Search for "Git Bash" and click on the icon of it.
In the terminal please type the command:
make -vYou should get and answer like this:
If you don't, please ask a TA.
Register as a Wagon alumni by going to kitt.lewagon.com/onboarding. Select your batch, sign in with GitHub and enter all your information.
Your teacher will then validate that you are indeed part of the batch. You can ask him to do it as soon as you completed the registration form.
Once the teacher has approved your profile, go to your email inbox. You should have 2 emails:
- One from Slack, inviting you to the Le Wagon Alumni slack community (where you'll chat with your buddies and all the previous alumni). Click on Join and fill the information.
- One from GitHub, inviting you to
lewagonteam. Accept it otherwise you won't be able to access the lecture slides.
Download and install the Slack app from slack.com, and install it.
Launch the app and sign in to lewagon-alumni organization.
Make sure you upload a picture there.
You can also sign in to Slack on your iPhone or Android device!
The idea is that you'll have Slack open all day, so that you can share useful links / ask for help / decide where to go to lunch / etc.
Enjoy your ride with Le Wagon :)








































