$docker-compose up
: run the application with db.$make shell
: access the django service with interactive shell.- usage example
- steps of creating django project
- run
$make shell
to connect toweb
container's console - change to the directory that you want create django project.
$django-admin startproject $(any_project_name_you_want)
- run
- steps of creating django project
- usage example
$make pyshell
: access the django service with interactive python shell.- Access postgres console:
$docker exec -it -u postgres {running_db_container_id} bash
$psql
inside the db container's console
-
Notifications
You must be signed in to change notification settings - Fork 0
AceFire2014/ffn_django_tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published