teutat3s
0cc50aa777
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #17 Reviewed-by: teutat3s <teutat3s@noreply.git.pub.solar> |
||
---|---|---|
.well-known/matrix | ||
_data | ||
_includes | ||
assets | ||
fonts/opensans | ||
scripts | ||
.dockerignore | ||
.drone.yml | ||
.envrc | ||
.gitignore | ||
_config.ts | ||
about.yml | ||
deno.json | ||
deno.lock | ||
docker-compose.yml | ||
Dockerfile | ||
filters.ts | ||
flake.lock | ||
flake.nix | ||
hakken.yml | ||
import_map.json | ||
index.yml | ||
LICENSE.md | ||
maintenance.yml | ||
privacy.yml | ||
README.md | ||
styles.scss |
pub.solar homepage
This is the repository containing the code for https://pub.solar.
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
To get a live development server, run
deno task serve
Unfortunately, hot module reloading is currently broken for JSX modules, so you'll need to restart this process regularly during development.
Updating Open Sans
To update the font files and CSS, run google-font-downloader $FONT_CSS_URL
.
As "documentation" flake.nix
shows the internals, and
_includes/styles/typography.css
has a comment at the top that shows which
command was used to generate it.