From c05fe2f7ae1b2d224718b21c38b4173b0ac7fd66 Mon Sep 17 00:00:00 2001 From: Bruno Wagner Date: Tue, 2 Dec 2014 18:15:09 -0200 Subject: Updated vagrant box to have 1gb of RAM and to run rng-tools, so we can register users --- provisioning/bootstrap.sh | 61 ----------------------------------------------- provisioning/provision.sh | 10 ++++++-- 2 files changed, 8 insertions(+), 63 deletions(-) delete mode 100755 provisioning/bootstrap.sh (limited to 'provisioning') diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh deleted file mode 100755 index eb444382..00000000 --- a/provisioning/bootstrap.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2014 ThoughtWorks, Inc. -# -# Pixelated is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Pixelated is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Pixelated. If not, see . - -# test dependencies -function check_installed() { - which $1 - if [ $? -ne 0 ]; then - echo "## You must have ${1} installed and in the PATH to run Pixelated-User-Agent" - echo "## exiting..." - exit 1 - fi -} - -for dependency in node npm ruby bundle virtualenv git gpg; do - check_installed $dependency -done - -# install web-ui dependencies -cd /vagrant/web-ui -npm install -node_modules/bower/bin/bower install --config.interactive=false -bundle install -LC_ALL=en_US.UTF-8 ./go build - -# install service dependencies -cd ../service -virtualenv .virtualenv -source .virtualenv/bin/activate -./go develop --always-unzip -pip uninstall -y gnupg; pip install gnupg - -# print usage -cat <> /etc/default/rng-tools + +sudo /etc/init.d/rng-tools start + +cd /vagrant + +./install-pixelated.sh -- cgit v1.2.3