miom.space/README.md

37 lines
943 B
Markdown
Raw Normal View History

2023-07-02 22:36:48 +00:00
# miom.space homepage
2021-10-22 11:13:16 +00:00
2023-07-02 22:36:48 +00:00
This is the repository containing the code for https://miom.space.
It is built using [lume](https://lume.land/) with JSX. To get started, make sure
you have the [nix package manager](https://nixos.org/download.html) installed.
Then you can start developing with:
```
nix develop
```
This will use a [nix devshell](https://nix.dev/tutorials/first-steps/ad-hoc-shell-environments#ad-hoc-envs)
to create an environment that has [deno](https://deno.land/) and [lume](https://lume.land/)
available.
An alternative approach for loading all dependencies is [`direnv`](https://direnv.net).
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:
2021-10-22 11:13:16 +00:00
```
2023-07-02 22:36:48 +00:00
direnv allow
```
2023-07-02 22:36:48 +00:00
Just build the static site, results are in `_site`:
```
deno task build
```
2023-07-02 22:36:48 +00:00
To get a live development server, run:
```
deno task serve
```