No description
Find a file
2026-01-30 10:23:26 +08:00
.vscode Initial commit 2026-01-30 10:23:26 +08:00
@dasig Initial commit 2026-01-30 10:23:26 +08:00
configs Initial commit 2026-01-30 10:23:26 +08:00
nginx Initial commit 2026-01-30 10:23:26 +08:00
public Initial commit 2026-01-30 10:23:26 +08:00
src Initial commit 2026-01-30 10:23:26 +08:00
.dockerignore Initial commit 2026-01-30 10:23:26 +08:00
.editorconfig Initial commit 2026-01-30 10:23:26 +08:00
.gitignore Initial commit 2026-01-30 10:23:26 +08:00
.prettierrc.yml Initial commit 2026-01-30 10:23:26 +08:00
astro.config.mjs Initial commit 2026-01-30 10:23:26 +08:00
docker-compose.yml Initial commit 2026-01-30 10:23:26 +08:00
Dockerfile Initial commit 2026-01-30 10:23:26 +08:00
Makefile Initial commit 2026-01-30 10:23:26 +08:00
package.json Initial commit 2026-01-30 10:23:26 +08:00
pnpm-lock.yaml Initial commit 2026-01-30 10:23:26 +08:00
podman.container Initial commit 2026-01-30 10:23:26 +08:00
README.md Initial commit 2026-01-30 10:23:26 +08:00
tsconfig.json Initial commit 2026-01-30 10:23:26 +08:00

FWT Logo

Fast WebApp Template

How to Use

Clone the Repo

git clone --depth 1 https://git.patalcala.com/patalcala9/fwt.git <project-name>

Navigate to the project

cd <project-name>

Refresh GIT

sudo rm -rf .git
git init

Install Depedencies

pnpm install

Make sure to update the dependencies first

pnpm update

To Use Background

Place your background image in assets/images/background.avif or assets/images/background.webp.

Then, enable by adding <Background image /> or <Background color="#123456">

How to Run

pnpm dev

How to Deploy

Standard

pnpm build

Docker

Edit name and port on docker-compose.yml

sudo vim docker-compose.yml

Run Docker Compose

docker compose up -d

Podman

Run Podman Compose

podman-compose up -d

Podman Quadlet

Edit Quadlet Container

sudo vim quadlet/quadlet.container

Copy and Rename the Quadlet to proper directory

mkdir -p ~/.config/containers/systemd/
sudo cp quadlet/quadlet.container ~/.config/containers/systemd/<name>.container

Start at Systemd

systemctl --user daemon-reload
systemctl --user start <name>