| [Tutorial] My Second Project - Admin Generator [message #21735] |
Thu, 15 February 2007 17:24  |
sfxpt Messages: 339 Registered: January 2007 Location: Canada |
Faithful Member |
|
|
Hi,
For anyone trying to follow the Admin Generator screencast, here is a ready-made file to get you started a bit easier.
All you need to do:
- install symfony the pear way.
- unzip the attached tgz file under your web root.
- edit 'config/propel.ini' and point the 'propel.output.dir' to your actual location.
You should have a working Admin Generator to play with right away. Then, you can start with customization from 05:15 of the screencast.
Note,
1. I change the sfdemo from the screencast to sfpear, just to show that the app name doesn't matter.
2. You need to create a mysql database named sfpear as well:
echo "create database sfpear" | mysql -uroot --password
echo "GRANT ALL ON sfpear.* TO 'apache'@'localhost';" | mysql -uroot --password
# then
symfony propel-insert-sql
php batch/load_data.php
3. The http user under FC is apache. Change the above 'apache' to your distro if it is different. E.g., in Debian, it is 'www-data'.
4. You don't need to setup VirtualHost or anything. Access them via:
http://localhost/sfpear/web/backend_dev.php/author
http://localhost/sfpear/web/backend_dev.php/category
http://localhost/sfpear/web/backend_dev.php/post
5. If you can't see the nice layout, check the 'web/sf' symlink.
The link currently is for FC; For Debian, link to /usr/share/php/data/symfony/web/sf instead.
[Updated on: Thu, 15 February 2007 22:23] http://xpt.sourceforge.net/techdocs/
http://xpt.sourceforge.net/tools/
|
|
|
 |
[Tutorial] My Second Project - Admin Generator
By: sfxpt on Thu, 15 February 2007 17:24 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Thu, 15 February 2007 22:16 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Fri, 16 February 2007 17:16 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Fri, 16 February 2007 17:24 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Fri, 16 February 2007 17:53 |
 |
[Tutorial] My Second Project - Admin Generator + email sending
By: sfxpt on Wed, 21 February 2007 00:38 |
 |
Re: [Tutorial] My Second Project - Admin Generator + email sending
By: sfxpt on Wed, 21 February 2007 17:38 |
 |
Re: [Tutorial] My Second Project - email sending
By: sfxpt on Wed, 07 March 2007 04:47 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Tue, 03 April 2007 17:31 |
 |
Re: [Tutorial] My Second Project - Admin Generator
By: sfxpt on Fri, 16 February 2007 17:55 |
 |
Re: [Tutorial] My Second Project - Porting to your distro
By: sfxpt on Tue, 06 March 2007 00:08 |
 |
[Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:28 |
 |
Re: [Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:30 |
 |
Re: [Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:31 |
 |
Re: [Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:32 |
 |
Re: [Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:34 |
 |
Re: [Tutorial] My Second Project - Image uploading
By: sfxpt on Wed, 22 August 2007 15:37 |