Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

afska/songlist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Songlist

Enviroment

App dependencies: ruby, bower
Test dependencies: phantomjs
#install rvm:
curl -sSL https://get.rvm.io | bash -s stable
su -c "usermod -a -G rvm $USER"
source /etc/profile.d/rvm.sh >> ~/.bashrc

#install ruby by rvm:
rvm install 2.1.2

#install nodejs:
sudo apt-get install nodejs #or...
     yum     install nodejs

#install npm:
curl http://npmjs.org/install.sh | sh

#install bower by npm:
npm install -g bower

Install

bower install
bundle install
bundle exec rake db:mongoid:create_indexes

Server

rails s #dev
rvmsudo RAILS_ENV=production rails s -p 80 #production

Tests

RAILS_ENV=test bundle exec rake spec:javascript
#or go to /specs in the browser...

Backlog

https://trello.com/b/bzhRTnJn/songlist

Deploy

http://song-list.herokuapp.com/

#install heroku-toolbelt
heroku git:remote -a song-list