This commit is contained in:
Patrick Alvin Alcala 2026-02-16 11:37:25 +08:00
parent c55d1374c6
commit 90057b851e
13 changed files with 6081 additions and 1499 deletions

View file

@ -1,34 +1,31 @@
.SILENT:
setup:
cd frontend && bun pm trust --all
install:
cd frontend && bun install && cd ../backend/go && make install
all:
cd frontend && pnpm install && cd ../backend && go mod tidy
fdev:
cd frontend && bun run dev
cd frontend && pnpm dev
fbuild:
cd frontend && bun run build && PORT=9000 node .output/server/index.mjs &
cd frontend && pnpm build && npx serve .output/public/.
fupdate:
bun update
pnpm up -i
docker:
cd frontend && docker compose up -d
podman:
cd frontend && podman-compose up -d
cd frontend && podman-compose up -d && sudo rsync -avhP podman.container ~/.config/containers/systemd/$(pod)
favicon:
cd frontend && bun ./@dasig/scripts/node/generateFavicon.ts
cd frontend && node ./@dasig/scripts/node/generateFavicon.ts
logo:
cd frontend && bun ./@dasig/scripts/node/optimizeLogo.ts --size $(size)
cd frontend && node ./@dasig/scripts/node/optimizeLogo.ts --size $(size)
image:
cd frontend && bun ./@dasig/scripts/node/optimizeImage.ts --name $(name) --size $(size)
cd frontend && node ./@dasig/scripts/node/optimizeImage.ts --name $(name) --size $(size)
background:
cd frontend && bun ./@dasig/scripts/node/optimizeImage.ts
cd frontend && node ./@dasig/scripts/node/optimizeBackground.ts

View file

@ -1,7 +1,7 @@
<div align=center>
# DASIG - SOLID
# DASIG
An architecture framework for pure speed fullstack developemnt
An architecture framework for pure speed fullstack development built on top of Solid and Go
</div>

View file

@ -1,4 +1,3 @@
/** biome-ignore-all lint/complexity/noUselessFragments: <_> */
import * as fs from "node:fs";
import { type JSXElement, Show } from "solid-js";
import * as toml from 'toml';
@ -26,7 +25,6 @@ interface Props {
export default (props: Props) => {
const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
return (
<>
<html lang="en">
<head>
<base href="/" />
@ -75,6 +73,5 @@ export default (props: Props) => {
{props.scripts}
</body>
</html>
</>
);
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

View file

@ -1,10 +1,10 @@
FROM oven/bun:canary-alpine AS build
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json bun.lock ./
RUN bun install && bun pm trust --all
COPY package*.json ./
RUN corepack enable
RUN pnpm install
COPY . .
ENV NODE_ENV=production
RUN bun run build
RUN pnpm build
FROM nginx:alpine AS runtime
COPY ./.deployment/nginx/nginx.conf /etc/nginx/nginx.conf

View file

@ -1,29 +0,0 @@
.SILENT:
all:
bun install && bun pm trust --all
dev:
bun run dev
build:
bun run build && PORT=9000 node .output/server/index.mjs &
update:
bun update
docker:
docker compose up -d
podman:
podman-compose up -d
favicon:
bun ./@dasig/scripts/node/generateFavicon.ts
logo:
bun ./@dasig/scripts/node/optimizeLogo.ts --size $(size)
image:
bun ./@dasig/scripts/node/optimizeImage.ts --name $(name) --size $(size)

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
[website]
name = "Dasig"
short_name = "Dasig"
description = "An architectural framework for pure speed fullstack development"
description = "An architectural framework for pure speed fullstack development built on top of Solid and Go"
developer = "Pat Alcala"
designer = "Pat Alcala"

View file

@ -1,6 +1,6 @@
services:
template:
container_name: template
container_name: ${NAME}
restart: unless-stopped
build:
context: .

6013
frontend/pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,9 +1,9 @@
[Unit]
Description=FWT
Description=DASIG
[Container]
ContainerName=fwt
Image=localhost/fwt
ContainerName=dasig
Image=localhost/dasig
PublishPort=8080:8080
[Service]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB