Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link
Owner Author

@rogerthat rogerthat commented Jun 8, 2012

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