Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Added OSX and sublime instructions for viewing project tree
Browse files Browse the repository at this point in the history
  • Loading branch information
janetriley committed Jan 24, 2013
1 parent c2844b9 commit d03a6a2
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions views/curriculum/getting_started.markdown
Expand Up @@ -79,27 +79,26 @@ cd suggestotron

## Step 5

Type this in the terminal
In step 3, `rails new` created a lot of files and directories. Let's look at what it made.

To see the contents of the current folder, type this in the terminal

```text
ls
```

`ls` stands for 'list (stuff)'.
It shows you the contents of the current folder.

The `tree` command can show you how files are laid out in your project
folder.

If you are using OS X, you may first need to install the `tree` command
by typing this command:
Let's look at the structure of the whole project.

In OS X, make Finder open the current directory by typing:

```text
brew install tree
open .
```

Assuming that you have the `tree` command installed, if you are using OS
X or Linux, type this in the terminal:
If you are using Linux, assuming that you have the `tree` command installed, type this in the terminal:

```text
tree -d
Expand All @@ -111,7 +110,9 @@ If you on Windows, just type
find .
```

You should see the entire directory tree of your project so you can see all the folders.
You will see the entire directory tree of your project.

You can see the project directory in Sublime Text too. This is convenient when you're going to edit several files and want to navigate quickly. Start Sublime Text and go to the File menu. Windows users should select "Open Folder"; OS X and Linux users should select the "Open..." command. Choose the suggestotron folder. A new pane showing the suggestotron folder will appear.

You can see that `rails new` created a lot directories and files. The ones we want to focus on today are:

Expand Down

0 comments on commit d03a6a2

Please sign in to comment.