mirror of
https://github.com/hrfee/jellyfin-accounts.git
synced 2024-11-22 18:30:12 +00:00
Updated Building (markdown)
parent
73a0139256
commit
bea32c962f
@ -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.
|
* First, make sure you have poetry installed. See [here](https://python-poetry.org/docs/) for instructions.
|
||||||
|
|
||||||
* Then clone the repo.
|
* Then clone the repo.
|
||||||
@ -17,8 +15,12 @@ hrfee@lab:~/jellyfin-accounts# poetry shell
|
|||||||
Once you have it, run
|
Once you have it, run
|
||||||
```
|
```
|
||||||
hrfee@lab:~/jellyfin-accounts# poetry run task compile-css
|
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.
|
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.
|
Once done, you should have `bs4.css, bs5.css, bs4-jf.css, bs5-jf.css` inside the `jellyfin_accounts/data/static/` directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user