Have a Snippet?

Keep, track and share your code snippets with your friends

PHP: Symfony1.4: Init project Share on Vkontakte

Symfony1.4: Init project

mkdir xxx
cd xxx
git init
git submodule add git://github.com/symfony/symfony1.git lib/vendor/symfony
lib/vendor/symfony/data/bin/symfony generate:project xxx
./symfony generate:app frontend
./symfony generate:app backend

git submodule add git://github.com/Symfony-Plugins/sfDoctrineGuardPlugin.git plugins/sfDoctrineGuardPlugin
git submodule add git://github.com/228vit/myConfigPlugin.git plugins/myConfigPlugin
git submodule add git://github.com/228vit/myAdminPlugin.git plugins/myAdminPlugin
git submodule add git://github.com/undernewmanagement/sfDoctrineActAsUuidablePlugin.git plugins/sfDoctrineActAsUuidablePlugin
git submodule add git://github.com/bshaffer/csDoctrineActAsSortablePlugin.git plugins/csDoctrineActAsSortablePlugin
git submodule add git://github.com/nippo/sfImageTransformPlugin.git plugins/sfImageTransformPlugin
git submodule add git://github.com/davidsblom/sfJqueryReloadedPlugin.git plugins/sfJqueryReloadedPlugin
git submodule add git://github.com/228vit/myGalleryPlugin.git plugins/myGalleryPlugin
git submodule add git://github.com/weaverryan/sfCKEditorPlugin.git plugins/sfCKEditorPlugin
git submodule add https://github.com/altrano/sfJqueryReloadedPlugin.git plugins/sfJqueryReloadedPlugin

cd web && ln -f -s ../lib/vendor/symfony/data/web/sf sf && cd ..

cp config/databases.yml config/databases.yml.dist

nano config/databases.yml
nano .gitignore

apps/front/config/factories.yml

config/databases.yml

lib/filter/doctrine/base/
lib/form/doctrine/base/
lib/model/doctrine/base/
data/sql/schema.sql

nbproject
cache/
log/
php.ini

**.svn**
**.git**
**/.**

**error_log 
**.**quota 
web/sf 
web/uploads
web/uploads/thumbs
web/uploads/**.thumbs/** 
web/**Plugin 

git add -f .gitignore
git add -f .gitmodules


Tag: Symfony1.4, Project, Init

0 Comments