Skip to content

This application allows SublimeVideo users to manage their registered sites, add-ons, players and videos.

Notifications You must be signed in to change notification settings

jilion/my.sublimevideo.net

Repository files navigation

SublimeVideo's "Service" app

Code Climate

Setup

  1. Update the Jilion Setup (including useful aliases): $ jsau && mysv;
  2. Update brew: $ brew update;
  3. [Optional but recommended] Install oh-my-zsh and switch to ZSH by default: $ curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh && chsh -s $(which zsh). Start / restart zsh (open a new terminal tab). Additional help; Why ZSH is better than Bash;
  4. [Optional but recommended] Install rbenv: $ brew install rbenv and add:
# To use Homebrew's directories rather than ~/.rbenv add to your profile:
export RBENV_ROOT=/usr/local/var/rbenv

# To enable shims and autocompletion add to your profile:
if which rbenv > /dev/null; then eval "$(rbenv init - --no-rehash)"; fi

to your ~/.zshenv/~/.bash_profile; 5. [Optional but recommended] Install ruby-build: $ brew install ruby-build 6. Install latest Ruby 1.9.3.

  • If you're using rbenv: $ rbenv install 1.9.3-p392 (verify it's the latest 1.9.3 version by running $ ruby-build --definitions before). Set the system's default ruby version with rbenv global 1.9.3-p392
  1. Install PostgreSQL: $ brew install postgresql and follow the installation instructions;
  2. Install MongoDB: $ brew install mongodb and follow the installation instructions;
  3. Install Redis: $ brew install redis and follow the installation instructions;
  4. Install bundler: $ gem install bundler
  5. Install the app's gems: $ bundle install. If there's any issue at this step, the solution is usually to re-install Ruby, but you should ask a developer before;
  6. [If you're using rbenv] Installs shims for all Ruby binaries known to rbenv: $ rbenv rehash;
  7. Run the populate task: $ rake 'db:populate:all[<yourfirstname>]' (e.g. 'remy');
  8. Link your app to Pow: $ be powder link && cd ~/.pow && mv my.sublimevideo.net my.sublimevideo && mysv;
  9. Also links admin subdomains to the same app: $ cp ~/.pow/my.sublimevideo ~/.pow/admin.sublimevideo;
  10. Open http://my.sublimevideo.dev in your favorite browser (Chrome recommended!) and log with your account: [email protected]/123456 (same for the admin).

Notes

This app is using the following private Gemfury gems:

Generate the JS docs

gi codo && codo ./app/assets/javascripts

Copyright (c) 2010 - 2013 Jilion(r) - SublimeVideo and Jilion are registered trademarks.

About

This application allows SublimeVideo users to manage their registered sites, add-ons, players and videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published