1.2 KiB
1.2 KiB
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