From dd3747fe7d46e946f3ce104d3e9998f82432bf56 Mon Sep 17 00:00:00 2001 From: Hunter Turcin Date: Wed, 1 Jan 2025 16:25:25 -0600 Subject: [PATCH] Document build.js changes and PermissionError fix --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f3f939b15..8b757f920 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,8 @@ This copies the sample configuration into the `config` volume, and only needs to ./wzl assets ``` +If the asset builder (`build.js`) was modified, run `./wzl build build-assets` before `./wzl assets`. + ### Start Weasyl @@ -86,6 +88,11 @@ To run only a specific module's tests, such as `weasyl.test.test_api`: If you have questions or get stuck, you can try talking to Weasyl project members in the project’s [Gitter room](https://gitter.im/Weasyl/weasyl). +### Website doesn't come up due to `PermissionError` + +If the website does not come up and `./wzl logs web` displays a stacktrace ending with `PermissionError: [Errno 13] Permission denied: '/weasyl/storage/prometheus/histogram_16.db'` (or similar), run `./wzl down` followed by `./wzl up -d`. + + ## Code of conduct Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.