Sei sulla pagina 1di 4

NITROUS.

IO
What is Nitrous.IO?

Nitrous is a backend development platform which helps software developers save time by
cutting out the repetitive parts of creating development environments and automating them.

Once you create your rst development environment, there are many features which will make
development easier:

Preview on the Web: You can preview and share your web app on a public URL. While the app
is running you can share this URL with others to view your app. To learn more, view the preview
guide at http://help.nitrous.io/preview/ .

It may be worthy to note that custom domains are also supported for certain pain subscriptions.

Collaborate with Others: If you want to work on a project with another developer, invite them to
collaborate on your Nitrous box. You will be able to work on the same code at the same time,
and even view the what other collaborators are typing in real time.

Collaboration Guide: http://help.nitrous.io/collab/

Install tools and Databases Instantly: Every box comes with the open source package
manager, Autoparts. You can utilize Autoparts to install databases and tools, which includes
packages like PostgreSQL, Redis, Node.JS, Meteor, PHP, Apache, and more.

Autoparts Guide: http://help.nitrous.io/autoparts/

Work in a Linux Environment: Whether you are on a Windows machine, a Mac, or an iPad,
your development environment will always be the same.

Developing on Windows/OSX and deploying on Linux is not ideal. With Nitrous.IO you will
always be developing with Linux and deploying on the production host of your choice (e.g.
Heroku, AWS, App Engine).



Introduction Resources

Video Introduction: https://learnable.com/hub/play/47

Getting Started: http://help.nitrous.io/categories/getting-started/

Best Practices: http://help.nitrous.io/best-practices/
Accessing Your Code

You can edit your code in many ways:

Connect via Web IDE: Within your web
browser (Chrome / Firefox recommended),
you can quickly edit les within the text
editor. A terminal is also available for you to
run any necessary web apps / services.


Web IDE Guide: http://help.nitrous.io/ide-
general/




Connect via SSH: You can connect to your
Nitrous box via SSH using clients similar to
Putty (Windows) and iTerm2 (Mac). You will
need to add your public SSH key to your
Nitrous Account in order to manage your
Nitrous boxes directly from your computer.


SSH Guide: http://help.nitrous.io/ssh-
windows/





Sync with Nitrous Desktop: With Nitrous
Desktop you can sync your les locally,
allowing you to edit code on your Nitrous
box with your favorite text editor (e.g.
Sublime Text). You can also enable port
forwarding, start/shutdown boxes, and
more.


Download: https://www.nitrous.io/desktop





Getting Started

If you havent viewed the introduction video at Learnable, take a look now to get a quick
overview:

Video Introduction: https://learnable.com/hub/play/47

Steps to get your rst app running:

1. Sign Up and Conrm Your Account: Visit https://www.nitrous.io to setup a new account.

2. Create a New Box: To create a new box,
just click the New Box button on your
dashboard after signing in.

You will be prompted to select a stack, along
with a region near you. An example would be
to create a Ruby on Rails box within the US
West region.

Note: You can install other languages using
Autoparts ( http://help.nitrous.io/autoparts ).
This means that you can start with a Ruby on
Rails stack, but also install other language
support such as Node.JS.

4. Setup Any Necessary Databases and Tools

Take a look at Autoparts to install any databases and tools needed for development.

You can install a new package by navigating to Autoparts > Install Parts... within the menu
bar.

Once opened, you can lter or scroll through the available packages which are available for
installation.
4. Setup SSH and Github Connections (Optional)

With SSH Established you can open a local terminal and code directly on your Nitrous box. If
you use this method to develop then you may want to consider using Vim to edit your code. Get
SSH setup by following this guide:

http://help.nitrous.io/ssh-windows/

5. Build Your App

Build your app just as you normally would on your local environment. This includes assuming
that any databases installed by Autoparts can be found on localhost.

Take a look at the following tutorials to get started: http://help.nitrous.io/categories/tutorials/

Note: You can use any tutorial found on the web to get started, but remember that you dont
have root access. For certain tools that may ask you to run sudo apt-get, check Autoparts to
see if the package exists there.

6. Preview Your App

The Preview menu in the Web IDE displays
links to some common default ports, which
you can click to open a new window in your
browser.

If your app is running on port 80 or 3000 in
the terminal, navigate to Preview > Port
3000 in the menu. If the app is running on
another port then you may need to change
this in the address bar (e.g.
ruby-21200.usw1-2.nitrousbox.com:8080 )

Note: Ports 1024 - 10,000 are currently open for previewing.

About the Nitrous.IO Team

The Nitrous.IO team can be found in the heart
of Chinatown in Singapore as well as San
Francisco.

Were looking for remarkable people to help us
change the way the world codes. If you are
interested in joining, contact us!

https://www.nitrous.io/jobs

Potrebbero piacerti anche