-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjustfile
29 lines (23 loc) · 782 Bytes
/
justfile
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
serve:
cd draftsmith_flask && \
CSRF_SECRET_KEY="832983289329832" API_SCHEME=http API_PORT=37240 API_HOST=vidar poetry run gunicorn -w 4 -b 0.0.0.0:5000 server:app
serve-dev:
cd draftsmith_flask && \
CSRF_SECRET_KEY="832983289329832" API_SCHEME=http API_PORT=37240 API_HOST=vidar poetry run python server.py
sass:
cd draftsmith_flask/static
npx sass --no-source-map draftsmith_flask/static/styles:draftsmith_flask/static/css
build/compile_css.py
format:
ruff format src
ruff check --fix src
install-deps:
# poetry install
npm install
mkdir -p ./src/static/css/ ./src/static/js/
cp -r ./node_modules/katex ./src/static/
tailwind-init:
npm install -D tailwindcss
npx tailwindcss init
echo:
echo "Hello $name"