Skip to content

Commit

Permalink
Merge pull request #306 from railsgirls/nitrous
Browse files Browse the repository at this point in the history
nitrous has a new UI using a different wording
  • Loading branch information
vesan committed Oct 8, 2016
2 parents f319b54 + c2ba771 commit eb905f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion _posts/2012-04-18-app.markdown
Expand Up @@ -48,7 +48,7 @@ First, let's open a terminal:
* Mac OS X: Open Spotlight, type *Terminal* and click the *Terminal* application.
* Windows: Click Start and look for *Command Prompt*, then click *Command Prompt with Ruby on Rails*.
* Linux (Ubuntu/Fedora): Search for *Terminal* on the dash and click *Terminal*.
* Cloud service (e.g. nitrous): Log in to your account, start your box and switch to its IDE (see [installation guide](/install#using-a-cloud-service) for details). The terminal is usually at the bottom of your browser window.
* Cloud service (e.g. nitrous): Log in to your account, start your project and switch to its IDE (see [installation guide](/install#using-a-cloud-service) for details). The terminal is usually at the bottom of your browser window.

Next, type these commands in the terminal:

Expand Down
37 changes: 19 additions & 18 deletions _posts/2013-05-02-install.markdown
Expand Up @@ -303,7 +303,7 @@ Instead of installing all tools on your machine, you can also set up a developme

## Using a Cloud Service

Instead of installing Ruby on Rails and an editor on your computer, you can use a webservice for development. All you need is a browser and an internet connection. This guide explains how to get started with [nitrous.io](https://nitrous.io). If you're using a different service, they may use a different wording - e.g. 'workspace' instead of 'box', but the process is usually pretty similar.
Instead of installing Ruby on Rails and an editor on your computer, you can use a webservice for development. All you need is a browser and an internet connection. This guide explains how to get started with [nitrous.io](https://nitrous.io). If you're using a different service, they may use a different wording, but the process is usually pretty similar.

### *1.* Update your browser

Expand All @@ -315,24 +315,25 @@ Open [whatbrowser.org](http://whatbrowser.org) and update your browser if you do

Go to [https://nitrous.io](https://nitrous.io/) and signup.

### *3.* Setup a development box / workspace for ruby on rails
### *3.* Setup a ruby on rails project
* Login to your nitrous account
* Go to the dashboard by using the green 'Open dashboard' button
* Create a nitrous box: pick Ruby/Rails from the templates - everything else can stay as is, but you can change the name of your box if you want to
* It takes a moment until your box is ready

### *4.* Find and restart your development box
* If you've just created your box, you can probably skip these steps - they're good to know if you login to nitrous again later
* You can always find your nitrous boxes by going to the dashboard or choosing 'Boxes' from the top menu
* Pick your box from the list of boxes
* If you haven't used a box in a while, it might have been shutdown due to inactivity. If you are informed that your box is not running, restart it using the respective button
* When your box is up and running, choose 'IDE' in order to start coding

### *5.* Coding with your development box
* You're asked to create a workstation - choose the free one
* Create a project: pick Ruby on Rails from the templates - everything else can stay as is, but you can change the name of your project if you want to
* It takes a moment until your project is ready

### *4.* Find and restart your project
* If you've just created your project, you can probably skip these steps - they're good to know if you login to nitrous again later
* If you haven't used your workstation or projects in a while, they might have been shutdown due to inactivity. If you login to nitrous and you are informed that your workstation has been shut down, restart it using the 'Start Workstation' button.
* You can always find your nitrous projects by going to the 'dashboard' from the top menu
* Pick your project from the list - if it has been shutdown, start it using the button with the on/off symbol
* When your project is up and running, choose 'IDE' in order to start coding

### *5.* Coding with your project
* On the left hand side, you find a file browser where you can navigate your directories and file
* In the middle, you find the editor where you can modify your files
* At the bottom, you find the terminal where you can run commands
* Everything you need is here in you browser window - you do not need to start an editor or terminal anywhere else
* If your following a guide or tutorial, use the commands for Linux even if you are on a Windows computer - your operating system does not matter, since all commands are run on your development box, which is a Linux machine
* If a guide or tutorial asks you to point your browser to something like http://localhost:3000, go to the 'Preview' menu and pick 'Port 3000'
* If, for example, you're asked to open http://localhost:3000/posts, please append '/posts' manually to the URL that has been opened
* Everything you need is right here in you browser window - you do not need to start an editor or terminal anywhere else
* If you are following a guide or tutorial, use the commands for Linux even if you are on a Windows computer - your operating system does not matter, since all commands are run on your project's machine in the cloud, which is running Linux
* If a guide or tutorial asks you to start the rails server with 'rails server' or 'rails s', append '-b 0.0.0.0' to this command so that you run 'rails server -b 0.0.0.0'
* If a guide or tutorial asks you to point your browser to something like http://localhost:3000, go to the 'Preview' menu and pick 'Port 3000 - HTTP' instead
* If, for example, you're asked to open http://localhost:3000/posts, open the preview from the menu and append '/posts' manually to the URL that has been opened

0 comments on commit eb905f4

Please sign in to comment.