mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-06 10:19:39 +00:00
Update readme for running on local. Add command line arg parser.
This commit is contained in:
parent
c7b01165fd
commit
9e8ea43d5b
5 changed files with 71 additions and 7 deletions
15
readme.md
15
readme.md
|
|
@ -72,6 +72,21 @@ Built to run in Docker for now (also on Unraid server Community Apps)
|
|||
docker run -d -p 1337:80 -v /audiobooks:/audiobooks -v /config:/config -v /metadata:/metadata --name audiobookshelf --rm advplyr/audiobookshelf
|
||||
```
|
||||
|
||||
## Running on your local
|
||||
|
||||
```bash
|
||||
git clone https://github.com/advplyr/audiobookshelf.git
|
||||
cd audiobookshelf
|
||||
|
||||
# All paths default to root directory. Config path is the database.
|
||||
# Directories will be created if they don't exist
|
||||
# Paths are relative to the root directory, so "../Audiobooks" would be a valid path
|
||||
npm run prod -- -p [PORT] --audiobooks [AUDIOBOOKS_PATH] --config [CONFIG_PATH] --metadata [METADATA_PATH]
|
||||
|
||||
# You only need to use `npm run prod` the first time, after that use `npm run start`
|
||||
npm run start -- -p [PORT] --audiobooks [AUDIOBOOKS_PATH] --config [CONFIG_PATH] --metadata [METADATA_PATH]
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Feel free to help out
|
||||
Loading…
Add table
Add a link
Reference in a new issue