dev(rakeFile): add terminal django.
This commit is contained in:
parent
0caa6fbb56
commit
9ff1deb687
5
Rakefile
5
Rakefile
@ -65,6 +65,11 @@ namespace :dev do
|
|||||||
compose('exec', 'django', 'python', '/app/manage.py', 'test', '/app/don_confiao')
|
compose('exec', 'django', 'python', '/app/manage.py', 'test', '/app/don_confiao')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc 'terminal django'
|
||||||
|
task :djangoShell do
|
||||||
|
compose('exec', 'django', 'python', '/app/manage.py', 'shell')
|
||||||
|
end
|
||||||
|
|
||||||
desc 'crear migraciones'
|
desc 'crear migraciones'
|
||||||
task :makemigrations do
|
task :makemigrations do
|
||||||
compose('exec', 'django', 'python', '/app/manage.py', 'makemigrations')
|
compose('exec', 'django', 'python', '/app/manage.py', 'makemigrations')
|
||||||
|
Loading…
Reference in New Issue
Block a user