mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 17:34:52 +03:00
generate project refactor and fix
This commit is contained in:
parent
14b8661e64
commit
97c0363141
|
@ -3,9 +3,6 @@ Getting Up and Running Locally With Docker
|
||||||
|
|
||||||
.. index:: Docker
|
.. index:: Docker
|
||||||
|
|
||||||
The steps below will get you up and running with a local development environment.
|
|
||||||
All of these commands assume you are in the root of your generated project.
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
If you're new to Docker, please be aware that some resources are cached system-wide
|
If you're new to Docker, please be aware that some resources are cached system-wide
|
||||||
|
@ -26,6 +23,9 @@ Prerequisites
|
||||||
.. _`pre-commit`: https://pre-commit.com/#install
|
.. _`pre-commit`: https://pre-commit.com/#install
|
||||||
.. _`Cookiecutter`: https://github.com/cookiecutter/cookiecutter
|
.. _`Cookiecutter`: https://github.com/cookiecutter/cookiecutter
|
||||||
|
|
||||||
|
Before Getting Started
|
||||||
|
----------------------
|
||||||
|
.. include:: generate-project-block.rst
|
||||||
|
|
||||||
Build the Stack
|
Build the Stack
|
||||||
---------------
|
---------------
|
||||||
|
|
|
@ -24,9 +24,8 @@ First things first.
|
||||||
|
|
||||||
$ source <virtual env path>/bin/activate
|
$ source <virtual env path>/bin/activate
|
||||||
|
|
||||||
#. Install cookiecutter-django: ::
|
#.
|
||||||
|
.. include:: generate-project-block.rst
|
||||||
$ cookiecutter gh:cookiecutter/cookiecutter-django
|
|
||||||
|
|
||||||
#. Install development requirements: ::
|
#. Install development requirements: ::
|
||||||
|
|
||||||
|
|
7
docs/generate-project-block.rst
Normal file
7
docs/generate-project-block.rst
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Generate a new cookiecutter-django project: ::
|
||||||
|
|
||||||
|
$ cookiecutter gh:cookiecutter/cookiecutter-django
|
||||||
|
|
||||||
|
For more information refer to
|
||||||
|
:ref:`Project Generation Options <template-options>`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user