Skip to content
Merged

Htmx #41

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ git reset --hard origin/$BRANCH

# Optionally run build or install commands here if needed
# e.g., npm install, yarn install for Node.js projects
npm install
npx vite build
make css-build

/home/loki/.local/bin/uv sync || exit
/home/loki/.local/bin/uv run flask db upgrade || exit
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ check: lint test

css-build:
npm install
npx vite build
npx webpack --mode production

run:
uv run flask db upgrade
npx vite build # Build CSS before running the app
npx webpack --mode production # Build CSS before running the app
uv run flask run --host="0.0.0.0" --debug

docker-build:
Expand Down
4 changes: 2 additions & 2 deletions blog/static/src/global/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: local('Open Sans'), local('OpenSans'), url(/static/fonts/OpenSans.ttf) format('truetype');
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans.ttf) format('truetype');
}

@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(/static/fonts/OpenSans-Bold.ttf) format('truetype');
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.ttf) format('truetype');
}
Loading