aboutsummaryrefslogtreecommitdiff
path: root/cheat/.cheat/symfony
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
committerneodarz <neodarz@neodarz.net>2018-07-01 19:27:38 +0200
commit4a6d55d3b65e7a4ab94422a07550d5358679f4e5 (patch)
treeef4b5147f66ea91d63ddcb0daeba327ac9f83d15 /cheat/.cheat/symfony
parent2f6357a59d60fb13e6a81e0be5efd3b3cb2e6e35 (diff)
downloaddotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.tar.xz
dotfiles_ascii-4a6d55d3b65e7a4ab94422a07550d5358679f4e5.zip
Add some goot cheat
Diffstat (limited to 'cheat/.cheat/symfony')
-rw-r--r--cheat/.cheat/symfony17
1 files changed, 17 insertions, 0 deletions
diff --git a/cheat/.cheat/symfony b/cheat/.cheat/symfony
new file mode 100644
index 0000000..c76bc7a
--- /dev/null
+++ b/cheat/.cheat/symfony
@@ -0,0 +1,17 @@
+# Generated a crud
+php bin/console generate:doctrine:crud
+
+# Genenrates entities
+php bin/console doctrine:generate:entities AppBundle:Film
+
+# Run dev server
+php bin/console server:run
+
+# Drop database
+php bin/console doctrine:database:drop --force
+
+# Create database
+php bin/console doctrine:database:create
+
+# Create schema
+php bin/console doctrine:schema:create