This website is built with SvelteKit, Sass, & Typescript to compile a html/css/js application delivered by a Node.js server. PNPM manages all dependency packages. Docker is used to compile the app into a minified Ubuntu environment. Fly.io hosts the Docker Image to serve the completed website.
root
.root
.pnpm i
in the terminal to install all remaining app dependencies.
From here, you can use & edit the app locally on your Windows machine. See ### Run Scripts for more information.nodejs
from pacman.pnpm
from pacman.flyctl-bin
from the AUR.postgresql
from pacman.root
.root
.pnpm i
in the terminal to install all remaining app dependencies.
From here, you can use & edit the app locally on your Arch Linux machine. See ### Run Scripts for more information.nodePackages.pnpm
flyctl
postgresql
packages to NixOS config or Home Manager config.sudo nixos-rebuild switch
home-manager switch
.root
.root
.pnpm i
in the terminal to install all remaining app dependencies.
From here, you can use & edit the app locally on your Arch Linux machine. See ### Run Scripts for more information.To run a script, type pnpm run <script-name>
into a terminal within the root folder.
script-name | description |
---|---|
start |
run start:dev |
start:dev |
create a local hot-reloading server at localhost:5173 to serve source code files |
start:preview |
run build:preview, create a local server at localhost:4173 to serve built code files |
build:preview |
build app using .env.development |
build:prod |
build app using .env |
deploy |
update app dependencies, run build:prod, run deploy:database, run deploy:secrets, run deploy:server |
deploy:database |
update postgres users, databases, tables, procedures, etc. |
deploy:secrets |
set flyctl secrets from .env file |
deploy:server |
deploy build folder to flyctl |
check |
evaluate Svelte syntax |
check:watch |
re-evaluate Svelte syntax when files are updated |
article |
cli to modify articles in the postgres database; pass -h for more details |
Some features of this app require secret database credentials. These secrets cannot be shared in public.
.env
in the root directory..env
file..env.development
.pnpm run deploy
.netstat -ano | findstr :5432
)Unfortunately, this project doesn't support community contributions right now. Feel free to fork, but be sure to read the license.