mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
updated script
This commit is contained in:
parent
365ae262fe
commit
d32566dc53
10
Vagrantfile
vendored
10
Vagrantfile
vendored
@ -1,6 +1,12 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
$script = <<SCRIPT
|
||||
echo "Installing content-server..."
|
||||
curl -s https://packagecloud.io/install/repositories/foomo/content-server/script.deb.sh | sudo bash
|
||||
sudo apt-get install content-server
|
||||
SCRIPT
|
||||
|
||||
Vagrant.configure("2") do |config|
|
||||
config.vm.network :private_network, ip: "192.168.33.99"
|
||||
config.vm.network :forwarded_port, guest: 22, host: 2299
|
||||
@ -8,6 +14,8 @@ Vagrant.configure("2") do |config|
|
||||
config.vbguest.no_remote = true
|
||||
config.vbguest.auto_update = false
|
||||
|
||||
config.vm.synced_folder ".", "/vagrant"
|
||||
|
||||
config.vm.define 'trusty' do |instance|
|
||||
instance.vm.box = 'ubuntu/trusty64'
|
||||
end
|
||||
@ -16,6 +24,6 @@ Vagrant.configure("2") do |config|
|
||||
instance.vm.box = 'ubuntu/precise64'
|
||||
end
|
||||
|
||||
config.vm.synced_folder ".", "/vagrant"
|
||||
config.vm.provision "shell", inline: $script
|
||||
|
||||
end
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
USER="foomo"
|
||||
NAME="content-server"
|
||||
URL="http://www.foomo.org"
|
||||
DESCRIPTION="Serves content tree structures very quickly through a json socket api"
|
||||
DESCRIPTION="Serves content tree structures very quickly through a json socket api."
|
||||
LICENSE="LGPL-3.0"
|
||||
|
||||
ARCH="amd64"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user