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

Nitrous.io Quickstart button #712

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,16 @@ Dashing is a Sinatra based framework that lets you build beautiful dashboards. I

Note: Dashing is no longer being actively maintained. Read about it [here](https://github.com/Shopify/dashing/issues/711).


# Nitrous Quickstart
You can quickly create a free development environment for this Dashing project in the cloud on www.nitrous.io:

<a href="https://www.nitrous.io/quickstart">
<img src="https://nitrous-image-icons.s3.amazonaws.com/quickstart.png" alt="Nitrous Quickstart" width=142 height=34>
</a>

In the IDE, start Dashing via `Run > Start Dashing` and access your site via `Preview > 3030`.


# License
Distributed under the [MIT license](MIT-LICENSE)
13 changes: 13 additions & 0 deletions README.nitrous.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Setup

Welcome to your Dashing project on Nitrous.

## Running the development server:

In the [Nitrous IDE](https://community.nitrous.io/docs/ide-overview), start dashing via "Run > Start Dashing".

Now you've got a development server running and can see the output in the Nitrous terminal window. You can open up a new shell or utilize [tmux](https://community.nitrous.io/docs/tmux) to open new shells to run other commands.

## Preview the app

In the Nitrous IDE, open the "Preview" menu and click "Port 3030".
11 changes: 11 additions & 0 deletions nitrous.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"template": "ruby",
"ports": [3030],
"name": "Dashing",
"description": "Dashing is a Sinatra based framework that lets you build beautiful dashboards. It looks especially great on TVs.",
"no_clone": true,
"scripts": {
"post-create": "cd /home/nitrous/code && gem install dashing && dashing new sweet_dashboard_project && cd sweet_dashboard_project && bundle",
"Start Dashing": "cd ~/code/sweet_dashboard_project && dashing start"
}
}