-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathjustfile
More file actions
32 lines (27 loc) · 770 Bytes
/
justfile
File metadata and controls
32 lines (27 loc) · 770 Bytes
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
import 'config/base.just'
project_slug := 'django-base-site'
# List available commands
@_default:
just -l
# Create or regenerate .env file from pyproject.toml schema
@create_env:
uvx epicenv create
# Remove extra Django Base Site files not needed in a new project
@clean_extra_files:
rm -f LICENSE.md
rm -f README.md
rm -f CHANGELOG.md
rm -rf docs/
rm -rf .github/
rm -rf .readthedocs.yaml
rm -r scripts/start_new_project
# Upgrade both Python and Node
@upgrade_all_packages:
# kill all running containers
docker stop $(docker ps -a -q) || true
# remove all stopped containers
docker rm $(docker ps -a -q) || true
just upgrade_python_packages
just upgrade_node_packages
just build
just pre_commit