forked from kiswa/TaskBoard
-
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 branch 'dev' of https://github.com/kiswa/TaskBoard into dev
- Loading branch information
Showing
6 changed files
with
49 additions
and
2 deletions.
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
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,27 @@ | ||
Vagrant.configure(2) do |config| | ||
config.vm.box = "ubuntu/trusty32" | ||
config.vm.network "forwarded_port", guest: 80, host: 8080 | ||
config.vm.synced_folder "../", "/taskboard" | ||
config.vm.provision "shell", inline: <<-SHELL | ||
sudo apt-get update | ||
sudo apt-get install -y curl php5 php5-cli php5-sqlite sqlite3 apache2 libapache2-mod-php5 | ||
sudo apt-get clean | ||
sudo a2enmod rewrite | ||
sudo a2enmod expires | ||
echo "<VirtualHost *:80> | ||
ServerAdmin webmaster@localhost | ||
DocumentRoot /taskboard | ||
ErrorLog /var/log/apache2/error.log | ||
CustomLog /var/log/apache2/access.log combined | ||
<Directory /taskboard> | ||
AllowOverride All | ||
Options All | ||
Require all granted | ||
</Directory> | ||
</VirtualHost>" > /etc/apache2/sites-enabled/000-default.conf | ||
sudo service apache2 restart | ||
curl -sS https://getcomposer.org/installer | php | ||
mv composer.phar /usr/local/bin/composer | ||
cd /taskboard && composer install | ||
SHELL | ||
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
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