From b33db2228e1374d3419cbbee7f9eeb92e19f17b4 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 16 Sep 2014 15:58:30 -0300 Subject: [PATCH] dev-install.sh: start of a central development environment bring up --- .mrconfig | 2 +- dev-install.sh | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100755 dev-install.sh diff --git a/.mrconfig b/.mrconfig index 579f7e8..0d3141d 100644 --- a/.mrconfig +++ b/.mrconfig @@ -5,7 +5,7 @@ checkout = utils/downloadsource.sh http://archive.apache.org/dist/lucene/solr/4. skip = true [colab] -checkout = git clone https://github.com/colab-community/colab.git --branch stable_spb +checkout = git clone https://github.com/colab-community/colab.git --branch softwarepublico [doc/colabdocumentation] checkout = git clone https://gitlab.com/softwarepublico/colabdocumentation.git diff --git a/dev-install.sh b/dev-install.sh new file mode 100755 index 0000000..93395e0 --- /dev/null +++ b/dev-install.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +vagrant up +host=$(vagrant ssh-config | awk '{ if ($1 == "HostName") { print($2) }}') +port=$(vagrant ssh-config | awk '{ if ($1 == "Port") { print($2) }}') +key=$(vagrant ssh-config | awk '{ if ($1 == "IdentityFile") { print($2) }}') + +cat > colab/environments.yml <