mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 12:40:17 +03:00
Added usage notice for Windows users with Docker
This commit is contained in:
parent
77ce5f04ee
commit
f782801401
|
@ -20,6 +20,16 @@ If you don't already have it installed, follow the instructions for your OS:
|
||||||
.. _`Docker for Windows`: https://docs.docker.com/engine/installation/windows/
|
.. _`Docker for Windows`: https://docs.docker.com/engine/installation/windows/
|
||||||
.. _`docker-engine`: https://docs.docker.com/engine/installation/
|
.. _`docker-engine`: https://docs.docker.com/engine/installation/
|
||||||
|
|
||||||
|
Attention Windows users
|
||||||
|
-------------
|
||||||
|
|
||||||
|
Currently PostgreSQL (``psycopg2`` python package) is not installed inside Docker containers for Windows users, while it is required by the generated Django project. To fix this, add ``psycopg2`` to the list of requirements inside ``requirements/base.txt``::
|
||||||
|
|
||||||
|
# Python-PostgreSQL Database Adapter
|
||||||
|
psycopg2==2.6.2
|
||||||
|
|
||||||
|
Doing this will prevent the project from being installed in an Windows-only environment (thus without usage of Docker). If you want to use this project without Docker, make sure to remove ``psycopg2`` from the requirements again.
|
||||||
|
|
||||||
Build the Stack
|
Build the Stack
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user