Updated
This commit is contained in:
parent
8e724b166a
commit
b5e92165c8
33 changed files with 82 additions and 223 deletions
101
README.md
101
README.md
|
|
@ -1,100 +1,7 @@
|
|||

|
||||
<div align=center>
|
||||
|
||||
# Fast WebApp Template
|
||||
# DASIG - ASTRO
|
||||
|
||||
## How to Use
|
||||
An architecture framework for pure speed static website developemnt
|
||||
|
||||
#### 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>
|
||||
```
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue