Add Address Command-line Argument

This commit is contained in:
spikecodes 2020-11-22 19:21:07 -08:00
parent 1a33582966
commit 16bf825e14
3 changed files with 26 additions and 11 deletions

View file

@ -40,7 +40,6 @@ Think Invidious but for Reddit. Watch your cat videos without being watched.
- [ ] Proxied images
- [x] Reddit-hosted video
- [ ] Proxied video
- [ ] Localized post date
- [x] Users
- [x] Username
- [x] Karma
@ -62,6 +61,17 @@ Think Invidious but for Reddit. Watch your cat videos without being watched.
## Deploy an Instance
Once installed, deploy Libreddit (unless you're using Docker) by running:
```
libreddit
```
Specify a custom address for the server by passing the `-a` or `--address` argument:
```
libreddit --address=0.0.0.0:8111
```
### A) Cargo
Make sure Rust stable is installed along with `cargo`, Rust's package manager.
@ -91,11 +101,6 @@ Install:
yay -S libreddit-git
```
Deploy:
```
libreddit
```
## Building
```