You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: general/setup/tutorial.md
+31-6Lines changed: 31 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
2
layout: page
3
-
title: Setting up your computer for Codebar
3
+
title: Setting up your computer for codebar
4
4
---
5
5
6
-
You can have a great time at Codebar no matter what kind of laptop you have, but you must do a little setup before jumping in to the tutorials. You can do this at home so you can jump straight into a tutorial at Codebar. Don't worry if you have trouble - your coach can help you with this if you prefer.
6
+
You can have a great time at codebar no matter what kind of laptop you have, but you must do a little setup before jumping in to the tutorials. You can do this at home so you can jump straight into a tutorial at codebar. Don't worry if you have trouble - your coach can help you with this if you prefer.
7
7
8
8
9
9
## Somewhere to save your files (required)
10
10
11
-
Programming projects are normally made up of several related files, and we hope you'll come back to Codebar several times! You should create a folder on your hard drive dedicated to Codebar. Create a new folder inside it when you start work on a new tutorial.
11
+
Programming projects are normally made up of several related files, and we hope you'll come back to codebar several times! You should create a folder on your hard drive dedicated to codebar. Create a new folder inside it when you start work on a new tutorial.
12
12
13
13
14
14
## A text editor (required)
@@ -20,16 +20,16 @@ Programmers use **text editors** to write code. You could use [Notepad](https://
20
20
-**Project navigation and tabs** help you move between the different files in your project.
21
21
-**Auto-completion** shows you keywords you could use to finish what you're typing, so you don't have to remember all the possible commands.
22
22
23
-
We recommend you use **[Atom](https://atom.io/)** at Codebar. It's free, open source, and runs on Windows, Mac, and Linux. **[Sublime Text 2](http://www.sublimetext.com/)** is another popular choice. It's free to download & use for as long as you like (though it will nag you intermittently to buy it when you save your work), and it runs on both Windows, Mac, and Linux.
23
+
We recommend you use **[Atom](https://atom.io/)** at codebar. It's free, open source, and runs on Windows, Mac, and Linux. **[Sublime Text 2](http://www.sublimetext.com/)** is another popular choice. It's free to download & use for as long as you like (though it will nag you intermittently to buy it when you save your work), and it runs on Windows, Mac and Linux.
24
24
25
25
26
26
## A web browser (required)
27
27
28
-
You'll have one of these already! Windows comes with [Internet Explorer](http://windows.microsoft.com/en-us/internet-explorer/), and OS X comes with [Safari](https://www.apple.com/uk/safari/). [Firefox](https://www.mozilla.org/en-US/firefox/)and [Chrome](https://www.google.com/chrome/)are popular alternatives. You can get started with whatever you currently use, but when you reach the later tutorials the powerful developer tools in Chrome and Firefox will be useful. Your coach will show you how to use them while you work through the tutorials.
28
+
You'll have one of these already! Windows comes with [Internet Explorer](http://windows.microsoft.com/en-us/internet-explorer/), and OS X comes with [Safari](https://www.apple.com/uk/safari/). Most Linux distributions come with [Firefox](https://www.mozilla.org/en-US/firefox/), which is also available for Windows and OS X. You can also download [Chrome](https://www.google.com/chrome/)which is a popular alternative. You can get started with whatever you currently use, but when you reach the later tutorials the powerful developer tools in Chrome and Firefox will be useful. Your coach will show you how to use them while you work through the tutorials.
29
29
30
30
## A compression utility (handy on Windows)
31
31
32
-
Many of the tutorials have links to download code from Gist in `.tar.gz` format. Mac and Linux have built-in support to extract the files from these archives for you. On Windows there are a variety of utilities available. If you don't already have one, [7-zip is free](http://www.7-zip.org/).
32
+
Many of the tutorials have links to download code from Gist in `.tar.gz` format. Macs and most Linux distributions have built-in support to extract the files from these archives for you. On Windows there are a variety of utilities available. If you don't already have one, [7-zip is free](http://www.7-zip.org/).
33
33
34
34
## Ruby (optional)
35
35
@@ -39,6 +39,31 @@ If you have a Mac you'll have a version of Ruby installed already. A coach can h
39
39
40
40
You can [download and run the RubyInstaller program](http://rubyinstaller.org/) to program Ruby on Windows.
41
41
42
+
On Linux, you can install Ruby using your distribution's package manager, as follows:
43
+
44
+
Debian GNU/Linux and Ubuntu use the apt package manager:
45
+
46
+
```bash
47
+
$ sudo apt-get install ruby-full
48
+
```
49
+
50
+
CentOS, Fedora, and RHEL use the yum package manager:
51
+
52
+
```bash
53
+
$ sudo yum install ruby
54
+
```
55
+
56
+
Gentoo uses the portage package manager:
57
+
58
+
```bash
59
+
$ sudo emerge dev-lang/ruby
60
+
```
61
+
62
+
Arch Linux uses a package manager named pacman. To get Ruby, just do this:
0 commit comments