symfony
symfony forum
Home » legacy support » symfony 1.0 » [Tutorial] My Second Project - Admin Generator  (5) 2 Vote(s)
[Tutorial] My Second Project - Admin Generator [message #21735] Thu, 15 February 2007 17:24 Go to previous message
sfxpt  is currently offline 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/

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:date format, setlocale
Next Topic:propel-build-schema: incorrect conversion MtSQL boolean
Goto Forum:

  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software