Dashing - dashboard framework: Difference between revisions

From RARForge
Jump to navigation Jump to search
Line 18: Line 18:
ln -sf testrb1.9.1 testrb
ln -sf testrb1.9.1 testrb
</source>
</source>


=== Other steps ===
=== Other steps ===
Line 26: Line 28:
gem install bundler
gem install bundler
ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/
ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/
</source>
=== Install NodeJS ===
<source>
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev
</source>
<source>
git clone https://github.com/joyent/node.git
cd node
# 'git tag' shows all available versions: select the latest stable.
git checkout v0.6.8
# Configure seems not to find libssl by default so we give it an explicit pointer.
./configure --openssl-libpath=/usr/lib/ssl
make
make test
sudo make install
node -v
</source>
</source>



Revision as of 04:22, 31 May 2013

Dashing

http://shopify.github.io/dashing/


Install Ruby 1.9.1 on Debian Squeeze

<source> sudo apt-get install ruby1.9.1-full </source> <source> cd /usr/bin ln -sf ruby1.9.1 ruby ln -sf gem1.9.1 gem ln -sf erb1.9.1 erb ln -sf irb1.9.1 irb ln -sf rake1.9.1 rake ln -sf rdoc1.9.1 rdoc ln -sf testrb1.9.1 testrb </source>


Other steps

<source> ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/ </source> <source> gem install bundler ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/ </source>


Install NodeJS

<source> sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev </source>

<source> git clone https://github.com/joyent/node.git cd node

  1. 'git tag' shows all available versions: select the latest stable.

git checkout v0.6.8

  1. Configure seems not to find libssl by default so we give it an explicit pointer.

./configure --openssl-libpath=/usr/lib/ssl make make test sudo make install node -v </source>

Install

  • Install the gem from the command line. Make sure you have Ruby 1.9

<source> gem install dashing </source>

  • Generate a new project

<source> dashing new sweet_dashboard_project </source>

  • Change your directory to sweet_dashboard_project and bundle gems

<source> bundle </source>

  • Start the server!

<source> dashing start </source>

  • Point your browser at localhost:3030 and have fun!