From bea32c962fd74badf271ad2b918ad765555879fc Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Tue, 4 Aug 2020 18:26:56 +0100 Subject: [PATCH] Updated Building (markdown) --- Building.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Building.md b/Building.md index 3ea4748..dd41b0f 100644 --- a/Building.md +++ b/Building.md @@ -1,5 +1,3 @@ -***Note: there seem to be numerous issues with the current build scripts on Windows, so build in WSL or docker instead.*** - * First, make sure you have poetry installed. See [here](https://python-poetry.org/docs/) for instructions. * Then clone the repo. @@ -17,8 +15,12 @@ hrfee@lab:~/jellyfin-accounts# poetry shell Once you have it, run ``` hrfee@lab:~/jellyfin-accounts# poetry run task compile-css +assuming npm bin directory "/home/hrfee/jellyfin-accounts/node_modules/.bin". Is this correct? +[yY/nN]: ``` +It will ask you a similar question about your npm bin directory. Check the path exists and isn't empty before saying yes. If you say no, it'll make another guess or ask you to input it yourself. + This will install BS5, BS4, `clean-css`, `postcss`, and `autoprefixer`, the last of which help clean up the resulting files. It then copies the Bootstrap files into the `jellyfin_accounts/data/static/` directory, and compiles the alternate theme. Once done, you should have `bs4.css, bs5.css, bs4-jf.css, bs5-jf.css` inside the `jellyfin_accounts/data/static/` directory.