Last active
January 4, 2016 00:49
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…
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php app/console assetic:dump | |
php app/console assetic:dump --env=prod --no-debug |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo off | |
php app/console doctrine:fixtures:load --env=test | |
php app/console doctrine:fixtures:load |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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