Ubuntu 14.04 x64 + Rails 3 + Nginx + Unicorn + Capistrano 3
SSH into Root
$ ssh email@example.com
Change Root Password
|# Provide desired spotify playlist url you want to save as first argument.|
|# For obtianing links for the tracks you would need vk token.|
|# VK token should have offline and audio permissions.|
|# First argument should be a link to spotify playlist with the open.spotify.com based domen|
|# Second argument is optional for base directory, in which all files would go|
|# For details refer to VK documentation http://vk.com/dev|
If the namespace is not used then the commands will perform on top of the default database.
bundle exec rake db:create
bundle exec rake db:migrate
By using the namespace we are going to use all the configuration for our alternate DB.
bundle exec rake store:db:create
bundle exec rake store:db:migrate