File tree Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
- Drupal Demo Framework / DF
2
- =========
1
+ # Drupal Demo Framework / DF
2
+
3
+ This assumes that you want to install the DemoFramework in a Vagrant VM.
4
+
3
5
You should install http://drupal.org/project/df as described on https://drupal.org/node/2012876 .
4
6
But since that didn't work for me and I went crazy on the ruby gems, chef and version dependencies
5
7
I created a couple of simple shell scripts.
6
8
7
9
Installing a LAMP server and Drupal site isn't that hard and I believe you shouldn't have to install a shitload of ruby.
8
10
9
11
Just make sure you have Vagrant and Virtualbox installed and try ./go.sh
12
+
13
+ ## Requirements
14
+
15
+ + Debian wheezy 7.1 basebox (see Vagrantfile)
16
+ + Enable the image_allow_insecure_derivatives configuration variable in your settings.php (see install script)
17
+ + Drush version 5.10.0
18
+ + Apache runs with vagrant userid to allow changes in /files
19
+
20
+ ### Other things that you might want to changes
21
+
22
+ + Caching is disabled (don't no why)
Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
35
35
# config.vm.provision :shell, :path => "provision/redis-server.sh"
36
36
# config.vm.provision :shell, :path => "provision/solr.sh"
37
37
# config.vm.provision :shell, :path => "provision/varnish.sh"
38
-
39
- # Oh My Shell install script
40
- config . vm . provision :shell , :path => "provision/oms.sh"
38
+ # config.vm.provision :shell, :path => "provision/oms.sh"
41
39
42
40
# Install Drupal Demo Framework
43
41
config . vm . provision :shell , :path => "install_demo.sh"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- cd /vagrant
4
- drush make ./build-df.make ./docroot
3
+ perl -pi -w -e ' s/www-data/vagrant/g;' /etc/apache2/envvars
4
+ perl -pi -w -e ' s/memory_limit = 128M/memory_limit = 512M/g;' /etc/php5/apache2/php.ini
5
+ perl -pi -w -e ' s/;date.timezone =/date.timezone = Europe\/Amsterdam/g;' /etc/php5/apache2/php.ini
5
6
6
7
cp -a /vagrant/demo /etc/apache2/sites-available
7
8
a2ensite demo
8
9
9
- perl -pi -w -e ' s/www-data/vagrant/g;' /etc/apache2/envvars
10
- perl -pi -w -e ' s/memory_limit = 128M/memory_limit = 512M/g;' /etc/php5/apache2/php.ini
11
- perl -pi -w -e ' s/;date.timezone =/date.timezone = Europe\/Amsterdam/g;' /etc/php5/apache2/php.ini
10
+ cd /vagrant
11
+ drush make ./build-df.make ./docroot
12
12
13
13
apache2ctl restart
14
14
@@ -22,4 +22,3 @@ drush site-install df --site-name=demo --root=/vagrant/docroot -y
22
22
23
23
cd /vagrant/docroot
24
24
sh profiles/df/modules/dfs/dfs_wem/dfs_wem.sh
25
-
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ aptitude install -y \
7
7
php5 \
8
8
php5-common \
9
9
php5-cli \
10
+ php5-dev \
11
+ php-pear \
10
12
php5-imagick \
11
13
php5-gd \
12
14
php5-mysql \
You can’t perform that action at this time.
0 commit comments