ullright - development environment using eclipse
Notes
- All paths and commands are examples for ubuntu linux, except otherwise stated
- www root path for ullright: /var/www/ullright
- Eclipse workspace path: /var/www
- Replace 'vi' with your favourite editor (e.g. 'gedit' or 'nano')
Requirements
Additional Installations
Setup test database
- mysql -u root -p
- CREATE DATABASE ullright_test;
- GRANT ALL ON ullright_test.* TO ullright_test@localhost IDENTIFIED BY 'test';
- exit
Enable xdebug for php
- sudo aptitude install php5-xdebug
- sudo vi /etc/php5/conf.d/xdebug.ini
-
display_error = On html_errors = On xdebug.var_display_max_depth = 15 xdebug.var_display_max_data = 4096 xdebug.max_nesting_level = 200 xdebug.file_link_format = xdebug://%f@%l
-
- Enable xdebug_file_link_format
- http://xdebug.org/docs/all_settings#file_link_format
- In Firefox URL bar enter "about.config"
- Right click anywhere and select "new -> boolean"
- Name the new variable "network.protocol-handler.expose.xdebug" and set it to true
- vi ~/bin/ff-xdebug.sh
-
#! /bin/sh f=`echo $1 | cut -d @ -f 1 | sed 's/xdebug:\/\///'` l=`echo $1 | cut -d @ -f 2` ~/bin/eclipse/eclipse --launcher.openFile $f
-
- chmod +x ~/bin/ff-xdebug.shx
Enable local configuration override
- Navigate to apps/frontend/config, rename app.local.yml.dist to app.local.yml
- Values in there will override their equivalent in app.yml
- Example configuration: mailing (debug address, ...)
Optional: Checkout Using Eclipse:
- File -> Import -> SVN -> Checkout Projects from SVN
- Create a new repository location -> Next
- URL: http://bigfish.ull.at/svn/ullright/trunk -> Next
- If a login is requested: guest/guest
- Click on the URL on the first line -> Next
- Check out as a project configured using the New Project Wizard -> Finish
- PHP -> PHP Project -> Next
- Project name: ullright -> Finish
MySQL Gui Tools
No more available in Ubuntu 12.04
From http://askubuntu.com/questions/138537/how-to-install-mysql-gui-tools-in-12-04