Change:Install PPA description and default config

This commit is contained in:
advplyr 2021-12-15 18:13:30 -06:00
parent 9cb9a9d8dc
commit a8eb3ef8f5
4 changed files with 53 additions and 11 deletions

View file

@ -13,9 +13,13 @@
<p class="text-base md:text-lg hidden md:block">Documentation</p>
<p class="text-base md:text-lg md:hidden">Docs</p>
</nuxt-link>
<nuxt-link to="/support" class="h-full px-3 md:px-5 items-center cursor-pointer flex" :class="routeName === 'support' ? 'bg-bg bg-opacity-50 text-white' : 'hover:text-white hover:bg-bg hover:bg-opacity-50 text-gray-300'">
<p class="text-base md:text-lg">How to Support</p>
</nuxt-link>
<nuxt-link to="/showcase" class="h-full px-3 md:px-5 items-center cursor-pointer flex" :class="routeName === 'showcase' ? 'bg-bg bg-opacity-50 text-white' : 'hover:text-white hover:bg-bg hover:bg-opacity-50 text-gray-300'">
<p class="text-base md:text-lg">Showcase</p>
</nuxt-link>
<div class="flex-grow" />
<a :href="dockerHubUrl">
<img src="/docker.svg" class="h-8 text-white" />

View file

@ -282,18 +282,10 @@
<span v-for="(key, index) in ['title', 'author', 'narrator', 'publishYear', 'publisher', 'isbn', 'description', 'genres', 'language']" :key="key"
><span class="bg-white bg-opacity-10 text-gray-100 rounded-md px-1 py-0.5 font-mono">{{ key }}</span
>{{ index < 8 ? ', ' : '' }}</span
><br /><span class="text-sm"><span class="text-yellow-500">Note:</span> Only plain text descriptions are used.</span>
>
</p>
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
<h1 id="reverse-proxy" class="text-3xl mb-4 -ml-8">
<nuxt-link to="#reverse-proxy"><span class="material-icons text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
>Reverse Proxy Setup
</h1>
<a href="https://github.com/advplyr/audiobookshelf#reverse-proxy-set-up" class="text-blue-500 hover:text-blue-300 underline">See Github Readme</a>
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
</div>
</template>

View file

@ -49,7 +49,15 @@ docker run -d \
</h1>
<span class="text-error">Note: Only for amd64 architecture</span>
<p class="mb-2 text-sm md:text-base">A few questions are asked during install to setup the initial config. <br />If you already have audiobooks, you can enter the path to your audiobooks during the install. The installer will create a user and group named audiobookshelf.</p>
<p class="mb-2 mt-1 text-sm md:text-base">Will use config file <span class="bg-white bg-opacity-10 text-gray-100 rounded-md px-1 py-0.5 font-mono">/etc/default/audiobookshelf</span> if exists or create the following default config:</p>
<pre>
<code class="language-bash"> AUDIOBOOK_PATH="/usr/share/audiobookshelf/audiobooks"
METADATA_PATH="/usr/share/audiobookshelf/metadata"
CONFIG_PATH="/usr/share/audiobookshelf/config"
FFMPEG_PATH="/usr/lib/audiobookshelf-ffmpeg/ffmpeg"
PORT=7331</code>
</pre>
<br />
@ -83,12 +91,22 @@ sudo apt install audiobookshelf</code>
<p class="mb-4 text-sm md:text-base">Grab the latest debian package from the <a href="https://github.com/advplyr/audiobookshelf-ppa" target="_blank" class="underline text-blue-400 hover:text-blue-200">audiobookshelf-ppa</a> github repository, and install.</p>
<pre>
<code class="language-bash">wget https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf_1.4.12_amd64.deb
<code class="language-bash">wget https://advplyr.github.io/audiobookshelf-ppa/audiobookshelf_1.6.41_amd64.deb
sudo apt install ./audiobookshelf_1.6.41_amd64.deb</code>
</pre>
<!-- <div class="w-full h-24" /> -->
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
<h1 id="reverse-proxy" class="text-3xl mb-4 -ml-8">
<nuxt-link to="#reverse-proxy"><span class="material-icons text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
>Reverse Proxy Setup
</h1>
<a href="https://github.com/advplyr/audiobookshelf#reverse-proxy-set-up" class="text-blue-500 hover:text-blue-300 underline">See Github Readme</a>
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
</div>
</template>

28
pages/support.vue Normal file
View file

@ -0,0 +1,28 @@
<template>
<div class="w-full max-w-5xl mx-auto h-full px-2 py-8">
<div class="flex -ml-8">
<div>
<span class="material-icons text-warning text-2xl">priority_high</span>
</div>
<p class="pl-2 text-base md:text-lg">Default username is "root" with no password.</p>
</div>
<div class="w-full bg-white bg-opacity-20 h-px my-8" />
<h1 id="docker" class="text-3xl mb-4 -ml-8">
<nuxt-link to="#docker"><span class="material-icons text-xl text-gray-400 hover:text-white cursor-pointer mr-2">tag</span></nuxt-link
>Docker Install
</h1>
</div>
</template>
<script>
export default {
data() {
return {}
},
computed: {},
methods: {},
mounted() {}
}
</script>