-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcopier.yml
53 lines (44 loc) · 1.02 KB
/
copier.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Configuration
_subdirectory: project
# Prompts
project_name:
type: str
help: What is your Django project name?
database:
type: str
help: Which database do you want to use?
default: sqlite
choices:
- sqlite
- postgresql
frontend:
type: str
help: Which frontend framework do you want to use?
choices:
- vue
- react
- svelte
tailwind_css:
type: bool
help: Do you want to use Tailwind CSS?
default: true
docker_dev:
type: bool
help: Do you want to use Docker for development?
default: true
docker_prod:
type: bool
help: Do you want to use Docker for production?
default: true
_message_after_copy: |
Your Django + Vite + Inertia project "{{ project_name }}" has been created successfully!
To start the development server, navigate to your project and run:
{% if docker_dev %}
$ docker compose up --watch
{% else %}
Install npm dependencies:
$ npm install
In separate terminals, run:
$ npm run dev
$ uv run python manage.py runserver 0.0.0.0:8000
{% endif %}