sudo apache2ctl -M
Install Java Runtime Environment on Ubuntu 12.04
Posted by Guilherme Franco
on 18/05/2012
No comments
Ignore chmod changes on GIT
Posted by zechim
on 17/05/2012
No comments
PHPMyAdmin install on ubuntu
Posted by zechim
on 16/05/2012
No comments
Desktop Shorcut on Ubuntu
Posted by zechim
on 16/05/2012
No comments
Install PHPunit on Ubuntu
Posted by zechim
on 16/05/2012
No comments
Install the package
sudo apt-get install PHPunit
Upgrade PEAR
sudo pear upgrade pear
Install all the dependencies
sudo pear channel-discover pear.phpunit.de sudo pear channel-discover components.ez.no sudo pear channel-discover pear.symfony-project.com sudo pear install --alldeps phpunit/PHPunit
Test
phpunit --version
Install MySQL Workbench on Ubuntu 12.04
Posted by zechim
on 16/05/2012
4 comments
download MySQL Workbench on http://www.mysql.com/downloads/mirror.php?id=406525#mirrors
wget https://launchpad.net/ubuntu/+archive/primary/+files/libzip1_0.9.3-1_i386.deb sudo dpkg -i libzip1_0.9.3-1_i386.deb
64bits => https://launchpad.net/ubuntu/+source/libzip/0.9.3-1/+build/1728114/+files/libzip1_0.9.3-1_amd64.deb
This package (libmysqlclient16) was removed from 12.04 repos, so you need to grab the old one.
wget http://launchpadlibrarian.net/94563300/libmysqlclient16_5.1.58-1ubuntu5_i386.deb sudo dpkg -i libmysqlclient16_5.1.58-1ubuntu5_i386.deb
64bits => http://launchpadlibrarian.net/94808408/libmysqlclient16_5.1.58-1ubuntu5_amd64.deb
sudo apt-get install python-paramiko python-pysqlite2 mysql-client mysql-common libctemplate0 libgtkmm-2.4-1c2a
now install MySQL Workbench
sudo dpkg -i mysql-workbench-gpl-5.2.38-1ubu1104-i386.deb
Output while running (PHP)
Posted by zechim
on 15/05/2012
No comments
Reverse Engineer (Workbench, Doctrine, Symfony2) with annotation
Posted by zechim
on 07/05/2012
2 comments
Hi guys!!
First of all you need to create a data model on workbench and update your database
After your database is populated, run this:
php app/console doctrine:mapping:convert xml ./src/[YOUR/BUNDLE]/Resources/config/doctrine/metadata/orm --from-database --force
so run this:
php app/console doctrine:mapping:import [YourBundle] annotation
and this:
php app/console doctrine:generate:entities [YourBundle]
Recent Comments