I frequently create new projects in symfony; however, I often forget the exact steps that are required. I have referenced my previous workflow a zillion times, but many of the steps have changed with version 1.4.

$ cd ~
$ mkdir sfproject
$ cd sfproject
$ symfony propel
$ symfony generate:project sfproject
$ symfony generate:app frontend

Create schema.yml
Create new database in phpMyAdmin
$ symfony configure:database "mysql:host=db.domain.com;dbname=actualdbname" username passwd

$ symphony propel:build-model
$ symphony propel:build-sql
$ symfony propel:insert-sql
$ symfony propel:build-forms
$ symfony propel:generate-module frontend article Article
$ symfony cache:clear

Additional data on symfony tasks is available.

Comments are closed.