GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Spika-Server/Vagrantfile at master · cloverstudio/Spika-Server

Expand file tree

/

Vagrantfile

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
42 lines (31 loc) · 1.51 KB
/

Vagrantfile

Copy path

File metadata and controls

executable file
·
42 lines (31 loc) · 1.51 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.network :forwarded_port, guest: 80, host: 8080
config.vm.synced_folder "./", "/vagrant_data", :owner=> 'vagrant', :group=>'www-data', :mount_options => ['dmode=775','fmode=775']
config.vm.provision :shell, :inline => <<-EOS
sudo apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y php5 php5-curl phpunit curl git-core php5-xdebug postfix mysql-server php5-mysql php5-gd
#http://www.giocc.com/installing-phpunit-on-ubuntu-11-04-natty-narwhal.html
sudo pear upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony.com
sudo pear install --alldeps phpunit/PHPUnit
a2enmod rewrite
sed -i '/AllowOverride None/c AllowOverride All' /etc/apache2/sites-available/default
sudo rm -rf /var/www
sudo ln -s /vagrant_data /var/www
sudo /etc/init.d/apache2 restart
sudo mkdir -p /vagrant_data/logs
sudo mkdir -p /vagrant_data/uploads
sudo chmod 777 /vagrant_data/logs
sudo chmod 777 /vagrant_data/uploads
sudo php /vagrant_data/composer.phar install -d /vagrant_data/
echo 'please open http://localhost:8080/wwwroot/installer to finish setup'
EOS
end
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.