This plugin is currently in BETA stage.

Documentation is under construct and may have inacurate parts. Please help us improving it by reporting invalid content/broken links.

Installing sfDynamics

To install the plugin, you have a few major options.

TODO: This needs to be rewritten, and is maybe outdated

Use the latest release

The easiest way is to use the latest release available on the symfony project plugin's page. Thoose releases are heavily tested, and you're assured not to get anything broken by any subsequent release. Just use the plugin:install task on it and you'll be done:

php symfony plugin:install sfDynamicsPlugin

Checkout the subversion repository

In your project directory, just run:

svn checkout http://svn.symfony-project.com/plugins/sfDynamicsPlugin/trunk plugins/sfDynamicsPlugin

Whenever you need to update to the last revision, run:

svn update

Basic subversion knowledge is required to work with it.

Use the subversion repository as an external in your project

Edit the svn:externals property of your project's plugins directory by running:

svn propedit svn:externals plugins

Add the following external:

sfDynamicsPlugin -rxxx http://svn.symfony-project.com/plugins/sfDynamicsPlugin/trunk

Don't forget to replace xxx by the revision you want to use. Freezing to a revision will avoid accidental updates in your project. If you are intrepid (crazy?), you can also skip the -r part and always use the last revision.

Use a git branch

For now, there is only one master git branch available. You can clone this branch by running the following:

git clone git://github.com/hartym/sfdynamicsplugin.git plugins/sfDynamicsPlugin

Whenever you need to update your current branch to the last revision, run:

git pull origin master

Using git is not recommended for beginners, and you should have some basic git knowledge before trying the experience. Using git as source control is more powerfull, and is a great way to contribute to the plugin, but can look a little strange to newcommers.

Additional steps

Once this is done, you have a few steps remaining to make dynamics work nicely in your project. Thoose steps are detailed step by step in the installation tutorial page.

To sum it up, you need to:

  • create a world writeable web/dynamics directory
  • enable the plugin in your ProjectConfiguration (if applicable to your symfony version)
  • activate the sfDynamics module in your applications

Comments