Skip to content

Instantly share code, notes, and snippets.

@rurtubia
Forked from skrosoft/comandos symfony mario.txt
Last active February 13, 2017 18:47
Show Gist options
  • Save rurtubia/81a58ee73ca5cfaf757e3a18a1fcd538 to your computer and use it in GitHub Desktop.
Save rurtubia/81a58ee73ca5cfaf757e3a18a1fcd538 to your computer and use it in GitHub Desktop.
//Generar los campos en las entidades
//Actualizar la BD
php app/console doctrine:schema:update --force
//Genera o actualiza las entidades php en AppBundle/Entity, genera los getters & setters dependiendo de los campos existentes en la entidad
php app/console doctrine:generate:entities AppBundle
//En la carpeta Form
//En EmployeeType.php, se agregan campos
php app/console cache:clear --env=dev
php app/console doctrine:generate:crud AppBundle:Auto
php app/console doctrine:fixtures:load (cargo data en base de datos - bundle a parte)
npm install uglify-js --prefix app/Resources
npm install uglifycss --prefix app/Resources
php app/console assetic:dump --env=prod --no-debug -v
// crear un nuevo bundle
php app/console generate:bundle
IS_AUTHENTICATED_ANONYMOUSLY
git add --all
git commit -m "text"
git push
git tag v0.6
git push --tags
update https://packagist.org/packages/skrosoft/obs-qtwebkit-cmd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment