mirror of
https://github.com/nikdoof/grumble.git
synced 2025-12-11 16:02:14 +00:00
Add basic Vagrant configuration to build our dev environment.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -34,3 +34,4 @@ nosetests.xml
|
||||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
.idea
|
||||
|
||||
15
.vagrant/provision.sh
Normal file
15
.vagrant/provision.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND noninteractive
|
||||
echo "APT::Get::Install-Recommends \"0\";" >> /etc/apt/apt.conf.d/99local
|
||||
echo "APT::Get::Install-Suggests \"0\";" >> /etc/apt/apt.conf.d/99local
|
||||
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache
|
||||
apt-get -qq update
|
||||
apt-get install -y python-software-properties
|
||||
add-apt-repository ppa:mumble/release
|
||||
apt-get install -y mumble-server python-zeroc-ice zeroc-ice python-pip git-core
|
||||
|
||||
pip install -r /vagrant/requirements.txt
|
||||
|
||||
sed -i 's/^icesecretwrite=$/icesecretwrite=test/g' /etc/mumble-server.ini
|
||||
/etc/init.d/mumble-server restart
|
||||
8
Vagrantfile
vendored
Normal file
8
Vagrantfile
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "base"
|
||||
config.vm.provision :shell, :path => ".vagrant/provision.sh"
|
||||
config.vm.network "forwarded_port", guest: 5000, host: 8080
|
||||
end
|
||||
3
requirements.txt
Normal file
3
requirements.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
flask
|
||||
flask-restful
|
||||
-e git+https://github.com/vishnevskiy/mumblepy.git#egg=mumblepy
|
||||
Reference in New Issue
Block a user