No description
|
||
---|---|---|
.forgejo/workflows | ||
_data | ||
_includes | ||
en | ||
fonts/raleway/v22 | ||
img | ||
posts | ||
.dockerignore | ||
.drone.yml | ||
.envrc | ||
.gitignore | ||
_config.ts | ||
Caddyfile | ||
collaborate.md | ||
collective.md | ||
contact.md | ||
deno.json | ||
deno.lock | ||
deploy.sh | ||
docker-compose.yml | ||
Dockerfile | ||
favicon.ico | ||
flake.lock | ||
flake.nix | ||
imprint.md | ||
index.md | ||
LICENSE.md | ||
privacy-policy.md | ||
projects.md | ||
raleway.css | ||
README.md | ||
space.md | ||
styles.css |
miom.space homepage
This is the repository containing the code for https://miom.space.
It is built using lume with JSX. To get started, make sure you have the nix package manager installed. Then you can start developing with:
nix develop
This will use a nix devshell to create an environment that has deno and lume available.
An alternative approach for loading all dependencies is direnv
.
It basically runs nix develop
for you, once you enter a directory which
contains a .envrc
file and allow it by running direnv allow
. Once installed
globally, run:
direnv allow
Just build the static site, results are in _site
:
deno task build
To get a live development server, run:
deno task serve
Manual deployment:
tar -cf miom.space-$(date +%F).tar -C _site .
scp ./miom.space-$(date +%F).tar nachtigall.wg.pub.solar:/home/teutat3s/
ssh nachtigall.wg.pub.solar
sudo tar -xvf miom.space-$(date +%F).tar -C /srv/www/miom.space --owner hakkonaut --group hakkonaut