Commit
bb54d68e1cdd8b2fca67cd0d6643ee7cc396d4bd
Exists in
master
and in
36 other branches
add_super_archives_plugin, automates_core_packing, changes_in_buttons_on_content_panel, colab_fix_automatic_group_creation_bug, gitlab-8.x, gov-user-refactoring, gov-user-refactoring-rails4, gov-user-to-organization, high_contrast, high_contrast_style, institution_modal_on_rating, kalibro-conf-refactoring, kalibro-processor-package, mezuro_spb, packaging_colab_plugins, performance, refactor_software_communities, refactor_software_communities_rails4, refactor_software_for_sisp, refactor_software_info_to_software, register_page, remove-unused-images, removing_super_archives_email, restore, signals_user_noosfero, software_as_organization, spb_minimal_env, stable-4.1, stable-4.2, stable-4.x, stable-5.0, stable-5.1, stable-devel, temp_soft_comm_refactoring, theme_header, thread_page
Add script to install an environment from scratch
| @@ -0,0 +1,22 @@ |
| @@ -0,0 +1,22 @@ |
| |
1
| +#!/bin/sh |
| |
2
| + |
| |
3
| +set -e |
| |
4
| +set -x |
| |
5
| + |
| |
6
| +# cleanup previous build |
| |
7
| +cleanup() { |
| |
8
| + vagrant destroy -f |
| |
9
| + rm -rf tmp/ |
| |
10
| +} |
| |
11
| +cleanup |
| |
12
| +trap cleanup INT EXIT TERM |
| |
13
| + |
| |
14
| +# bring VMS up |
| |
15
| +vagrant up |
| |
16
| + |
| |
17
| +# install everything |
| |
18
| +rake preconfig |
| |
19
| +rake |
| |
20
| + |
| |
21
| +# test |
| |
22
| +rake test |