roxy-docs/in/pages/guides/local-development.md
2024-02-21 09:10:31 -05:00

15 lines
577 B
Markdown

{% extends "../../../layouts/topic.tera" %}
{% block content %}
In the repository for [this site](https://fem.mint.lgbt/kitsunecafe/roxy-docs) there are a few bash scripts to help get an okay experience developing locally. Running `./start.sh` will set up a watcher to detect files changes, regenerate the files, and host a python HTTP server at localhost:8000.
Create a file named `.env` and add these variables, substituting their values for appropriate ones.
```bash
IN="my/input/dir"
OUT="my/output/folder"
WATCH="./layouts/ ./includes/ $IN"
```
{% endblock content %}