Editing Dashing - dashboard framework
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== Dashing | == Dashing == | ||
http://shopify.github.io/dashing/ | |||
Line 30: | Line 21: | ||
=== | === Other steps === | ||
<source> | |||
<source | ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/ | ||
</source> | </source> | ||
<source> | <source> | ||
gem install bundler | |||
ln -s /var/lib/gems/1.9.1/bin/dashing /usr/bin/ | |||
</source> | </source> | ||
=== Install NodeJS === | === Install NodeJS === | ||
<source> | <source> | ||
sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev | sudo apt-get update && apt-get install git-core curl build-essential openssl libssl-dev | ||
Line 75: | Line 41: | ||
# 'git tag' shows all available versions: select the latest stable. | # 'git tag' shows all available versions: select the latest stable. | ||
git checkout v0. | git checkout v0.6.8 | ||
# Configure seems not to find libssl by default so we give it an explicit pointer. | # Configure seems not to find libssl by default so we give it an explicit pointer. | ||
./configure --openssl-libpath=/usr/lib/ssl | ./configure --openssl-libpath=/usr/lib/ssl | ||
make | make | ||
make test | make test | ||
sudo make install | sudo make install | ||
Line 107: | Line 51: | ||
</source> | </source> | ||
=== Install === | |||
* Install the gem from the command line. Make sure you have Ruby 1.9 | |||
=== Install | |||
* Install the gem from the command line. Make sure you have Ruby 1.9 | |||
<source> | <source> | ||
gem install dashing | gem install dashing | ||
</source> | </source> | ||
* Generate a new project | * Generate a new project | ||
Line 138: | Line 62: | ||
dashing new sweet_dashboard_project | dashing new sweet_dashboard_project | ||
</source> | </source> | ||
* Change your directory to sweet_dashboard_project and bundle gems | * Change your directory to sweet_dashboard_project and bundle gems | ||
Line 145: | Line 68: | ||
bundle | bundle | ||
</source> | </source> | ||
* Start the server! | * Start the server! | ||
Line 153: | Line 75: | ||
</source> | </source> | ||
* Point your browser at localhost:3030 and have fun! | |||
* | |||
[[Category:How-to]] | [[Category:How-to]] |