Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
liber
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ale
liber
Commits
c1709d50
Commit
c1709d50
authored
5 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Update docs now that flags are subcommands
parent
5a44cfe2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-6
6 additions, 6 deletions
README.md
with
6 additions
and
6 deletions
README.md
+
6
−
6
View file @
c1709d50
...
...
@@ -59,13 +59,13 @@ control this with the (mandatory) option `--book-dir`.
To index a local ebook collection, run the following command:
$ liber --book-dir=/path/to/ebooks
--
update
$ liber --book-dir=/path/to/ebooks update
The tool will attempt to identify books on Google Books. It is
possible that more than one match is found, in which case
`liber`
will
open a dialog box to ask you interactively to pick the right match.
You can run
`liber
--
update`
as many times as you like (for example
You can run
`liber update`
as many times as you like (for example
whenever you add an ebook to your collection), it will automatically
detect new files and files that have been removed.
...
...
@@ -80,7 +80,7 @@ images, and it will not perform remote searches for book metadata.
You can search the index from the command line, for example:
$ liber
--
search "Das Kapital"
$ liber search "Das Kapital"
This will print a list of documents that match the query. For the full
query syntax, see
...
...
@@ -92,14 +92,14 @@ To upload the contents of the local database (including the file
contents themselves) to a remote
`liber`
server, run the following
command:
$ liber
--
sync=http://remote.server.address/
$ liber sync=http://remote.server.address/
### Running the HTTP interface
The HTTP interface can be started with:
$ liber
--http-server=:3000
--book-dir=/path/to/ebooks
$ liber --book-dir=/path/to/ebooks
server
This will start an HTTP server on port 3000, listening on all
interfaces. The HTTP server needs some templates and static content
...
...
@@ -107,4 +107,4 @@ which the Debian package installs in `/usr/share/liber/htdocs`.
The HTTP server will store uploaded files into the directory specified
by
`--book-dir`
. You should use the same value that you passed to
`liber
--
update`
.
`liber update`
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment