forked from sxswdemo/github-book
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing table-cell layout from github-book editor
- Loading branch information
Showing
8 changed files
with
96 additions
and
63 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bower_components/* | ||
node_modules/* | ||
.vagrant |
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 @@ | ||
Vagrant.configure("2") do |config| | ||
config.vm.box = "precise64" | ||
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | ||
config.vm.provision :shell, :path => "node-bootstrap.sh" | ||
config.vm.network :private_network, ip: '33.33.33.10' | ||
|
||
config.vm.provider :virtualbox do |vb| | ||
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] | ||
# vb.customize ["modifyvm", :id, "--memory", "2048"] | ||
# vb.customize ["modifyvm", :id, "--cpus", "4"] | ||
end | ||
|
||
config.vm.synced_folder "./", "/vagrant/www/default" | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Get root up in here | ||
sudo su | ||
|
||
# Just a simple way of checking if you we need to install everything | ||
if [ ! -d "/var/www" ] | ||
then | ||
# Update and begin installing some utility tools | ||
apt-get -y update | ||
apt-get install -y python-software-properties | ||
apt-get install -y vim git subversion curl | ||
apt-get install -y memcached build-essential | ||
apt-get install -y apache2 | ||
|
||
# Build latest node.js from source | ||
cd /tmp | ||
git clone -b v0.10.11-release https://github.com/joyent/node.git | ||
cd node | ||
./configure | ||
make | ||
make install | ||
|
||
# Symlink our host www to the guest /var/www folder | ||
ln -s /vagrant/www /var/www | ||
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
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