Skip to content

Instantly share code, notes, and snippets.

@rogerthat
Created June 7, 2012 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogerthat/2891691 to your computer and use it in GitHub Desktop.
Save rogerthat/2891691 to your computer and use it in GitHub Desktop.
libertree_production=> \d+ schema_migrations
Table "public.schema_migrations"
Column | Type | Modifiers | Storage | Description
----------+-------------------------+-----------+----------+-------------
filename | character varying(1024) | not null | extended |
Indexes:
"schema_migrations_filename_key" UNIQUE CONSTRAINT, btree (filename)
Has OIDs: no
@rogerthat
Copy link
Author

curl -L get.rvm.io | bash -s stable --ruby

echo "source $HOME/.rvm/scripts/rvm"

src_dir="$HOME/salix"

mkdir $src_dir && cd $src_dir

git clone git://github.com/Libertree/libertree-frontend-ramaze.git
git clone git://github.com/Libertree/libertree-client-rb.git
git clone git://github.com/Libertree/libertree-backend-rb.git
git clone git://github.com/Libertree/libertree-db.git

cd libertree-db/

export PGHOST=localhost
./createuser.sh
./createdb.sh
cd rb
rvm use --create 1.9.3@libertree-db
gem install bundler
bundle install
LIBERTREE_ENV=production ./migrate.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment