-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenvironnement_kunstmaan.txt
60 lines (55 loc) · 2.18 KB
/
environnement_kunstmaan.txt
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//start CNTLM listen on 127.0.0.1:5865
On windows that would be something like this:
C:\PHPDEV\tools\cntlm-0.92.3\cntlm.exe -v -c C:\PHPDEV\tools\cntlm-0.92.3\cntlm.ini
//Install Virtualbox
//Based on http://www.if-not-true-then-false.com/2010/install-virtualbox-with-yum-on-fedora-centos-red-hat-rhel/
sudo bash
export http_proxy=http://localhost:5865
export https_proxy=http://localhost:5865
export no_proxy="localhost,127.0.0.1,.example.com,drupalatsmals"
//Install Vagrant
//Install Vagrant plugins:
vagrant plugin install vagrant-bindfs vagrant-cachier vagrant-hostmanager vagrant-proxyconf
//On Windows Launch GitShell as Admin
//We use the box "grtjn/centos-7.1"
//Enable the requirements for Kunstmaan (https://bundles.kunstmaan.be/documentation/installation/system-requirements)
- PHP minimum version of PHP 5.4, but we prefer 5.5 or 5.6.
JSON needs to be enabled
ctype needs to be enabled
curl needs to be enabled
pcntl need to be enabled
- imagick and gd needs to be enabled (if you wish to use the KunstmaanMediaBundle)
- memcached needs to be enabled
you need to have the PHP-XML module installed
you need to have at least version 2.6.21 of libxml
PHP tokenizer needs to be enabled
mbstring functions need to be enabled
iconv needs to be enabled
POSIX needs to be enabled (only on *nix)
- Intl needs to be installed with ICU 4+
- An opcode cache needs to be enabled (APC <= 5.4 or the built in Opcode cache >= 5.5)
A userland cache APC (<= PHP 5.4) or APCu (>= PHP 5.5)
- PDO with the MySQL binding enabled
pecl_http needs to be enabled
- php.ini recommended settings
short_open_tag = Off
magic_quotes_gpc = Off
register_globals = Off
session.auto_start = Off
date.timezone = "Europe/Brussels"
MySQL 5.x (some work on sqlite has been done but is not supported)
- Node.js and NPM with these packages installed globally:
bower
gulp
uglify-js
uglifycss
- Ruby, RubyGems and the bundler gem
- A webserver like Apache or Nginx (preferably with a Varnish server in front)
- Imagemagick
- Elasticsearch
- Memcached (optionally)
export http_proxy=http://127.0.0.1:5865
export https_proxy=http://127.0.0.1:5865
vagrant plugin install vagrant-proxyconf
vagrant plugin install vagrant-vbguest
vagrant up