forked from resque/resque-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into api-cleanup
- Loading branch information
Showing
11 changed files
with
131 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ nbproject | |
*.swp | ||
|
||
/coverage/ | ||
/.vagrant/ | ||
/dump.rdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -x | ||
|
||
ln -svf /vagrant/.vagrant-skel/bashrc ~/.bashrc | ||
ln -svf /vagrant/.vagrant-skel/bash_profile ~/.bash_profile | ||
|
||
source ~/.bashrc | ||
|
||
set +x | ||
curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0 --auto-dotfiles | ||
|
||
source ~/.rvm/scripts/rvm | ||
gem install --no-ri --no-rdoc bundler foreman |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
umask 022 | ||
|
||
set -e | ||
set -x | ||
|
||
apt-get update -yq | ||
apt-get install --no-install-suggests -yq python-software-properties | ||
add-apt-repository -y ppa:chris-lea/redis-server | ||
apt-get update -yq | ||
apt-get install --no-install-suggests -yq \ | ||
build-essential \ | ||
byobu \ | ||
curl \ | ||
git \ | ||
make \ | ||
redis-server \ | ||
screen | ||
|
||
su - vagrant -c /vagrant/.vagrant-provision-as-vagrant.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!bash | ||
|
||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | ||
|
||
if [[ "$PS1" ]] ; then | ||
cd /vagrant | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!bash | ||
|
||
export LANG='en_US.UTF-8' | ||
export LANGUAGE='en_US.UTF-8' | ||
export LC_ALL='en_US.UTF-8' | ||
|
||
export PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# vim:filetype=ruby | ||
|
||
Vagrant.configure('2') do |config| | ||
config.vm.hostname = 'resque-scheduler' | ||
config.vm.box = 'precise64' | ||
config.vm.box_url = 'http://cloud-images.ubuntu.com/vagrant/precise/' << | ||
'current/precise-server-cloudimg-amd64-vagrant-disk1.box' | ||
|
||
config.vm.network :private_network, ip: '33.33.33.10', auto_correct: true | ||
config.vm.network :forwarded_port, guest: 5678, host: 15678, | ||
auto_correct: true | ||
|
||
config.vm.provision :shell, path: '.vagrant-provision.sh' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters