- https://my.sublimevideo.net (https://my.sublimevideo-staging.net)
- https://admin.sublimevideo.net (https://admin.sublimevideo-staging.net)
- Update the Jilion Setup (including useful aliases):
$ jsau && mysv; - Update brew:
$ brew update; - [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; - [Optional but recommended] Install rbenv:
$ brew install rbenvand 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)"; fito 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 --definitionsbefore). Set the system's default ruby version withrbenv global 1.9.3-p392
- Install PostgreSQL:
$ brew install postgresqland follow the installation instructions; - Install MongoDB:
$ brew install mongodband follow the installation instructions; - Install Redis:
$ brew install redisand follow the installation instructions; - Install bundler:
$ gem install bundler - 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; - [If you're using rbenv] Installs shims for all Ruby binaries known to
rbenv:$ rbenv rehash; - Run the populate task:
$ rake 'db:populate:all[<yourfirstname>]'(e.g. 'remy'); - Link your app to Pow:
$ be powder link && cd ~/.pow && mv my.sublimevideo.net my.sublimevideo && mysv; - Also links
adminsubdomains to the same app:$ cp ~/.pow/my.sublimevideo ~/.pow/admin.sublimevideo; - Open http://my.sublimevideo.dev in your favorite browser (Chrome recommended!) and log with your account:
yourfirstname@jilion.com/123456(same for the admin).
This app is using the following private Gemfury gems:
gi codo && codo ./app/assets/javascriptsCopyright (c) 2010 - 2013 Jilion(r) - SublimeVideo and Jilion are registered trademarks.
