Skip to content

Instantly share code, notes, and snippets.

@tvl83
Last active January 4, 2016 00:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvl83/8544702 to your computer and use it in GitHub Desktop.
Save tvl83/8544702 to your computer and use it in GitHub Desktop.
These are three quick batch files I created to make development in symfony a little easier (in windows specifically). the first just updates the fixtures when you make a change and want to quickly reload them The second updateschema.bat drops the schema, updates it, and then loads the fixtures in both test and dev environment. this prevents a lo…
php app/console assetic:dump
php app/console assetic:dump --env=prod --no-debug
echo off
php app/console doctrine:fixtures:load --env=test
php app/console doctrine:fixtures:load
echo off
php app/console doctrine:schema:drop --force --dump-sql --env=test
php app/console doctrine:schema:update --force --dump-sql --env=test
php app/console doctrine:fixtures:load --env=test
php app/console doctrine:schema:drop --force --dump-sql
php app/console doctrine:schema:update --force --dump-sql
php app/console doctrine:fixtures:load
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment