-
Notifications
You must be signed in to change notification settings - Fork 1
/
DEVELOPERS
26 lines (20 loc) · 1000 Bytes
/
DEVELOPERS
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
Developers
==============
## Enable developers mode
Install all packages (including dev):
# php composer.phar install --dev
## Enable twig-extensions
- Modify app.php.
- Look for the string "Uncomment this block..."
- You can use dump function in twig templates to debug variables (ie: {{ dump(myVar) }})
Note: for unknown reason, the application will be displayed in English
## Execute CSS/JS compression
- Requires Grunt
- launch: `grunt`
## Launching javascript tests
- Requires nodejs, gruntjs
Note: depending you OS, you may have to install other dependencies manually (https://www.npmjs.org/package/grunt-contrib-qunit)
for users of debian distributions, if issues when installing grunt-contrib-qunit
=> http://stackoverflow.com/questions/21168141/can-not-install-packages-using-node-package-manager-in-ubuntu
## Launching selenium tests
- Using Firefox, download ans install Selenium IDE (from http://seleniumhq.org/download)