You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-37Lines changed: 0 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,46 +66,9 @@ Options
66
66
*`author_name`: Your Name
67
67
*`description`: A short description of the project for the `README.md` file
68
68
*`version`: Project version number
69
-
*`existing_project`: `n` if this is a new project and `y` if you're integrating into an existing project. See the notes below about integrating into an existing project.
70
69
*`css_extension`: [`none`, `less`, `sass`] - use `less` or `sass` to preprocess styles.
71
70
72
71
73
-
Integrating into existing projects
74
-
----------------------------------
75
-
76
-
You can chain this into an existing cookiecutter project by installing via the projects `./hooks/post_gen_project.py` file or just installing it via the command line.
77
-
78
-
### Using post hooks
79
-
Here is a django project post hook example that chains this through a django cookiecutter project.
The flag `existing_project` will move/remove some files and dependencies and also add supporting configurations for a django project.
102
-
103
-
### Using command line
104
-
Just make sure you use the `--overwrite-if-exists`[ or `-f`] flag so cookiecutter can work within your existing project structure. You will also probably want to point to your existing projects parent directory and make sure you use the same `repo_name` as the project directory so your `package.json` files are installed at the project root.
0 commit comments