update readme.
This commit is contained in:
parent
f5b38f5c6b
commit
e0960d59f3
20
README.md
20
README.md
|
@ -20,7 +20,7 @@ $ sudo apt install yarn
|
||||||
Clone this repo:
|
Clone this repo:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
$ git clone https://gogs.tannercollin.com/tanner/qotnews.git
|
$ git clone --recurse-submodules https://git.1j.nz/jason/qotnews.git
|
||||||
$ cd qotnews
|
$ cd qotnews
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -37,14 +37,14 @@ $ source env/bin/activate
|
||||||
|
|
||||||
Configure Praw for your Reddit account (optional):
|
Configure Praw for your Reddit account (optional):
|
||||||
|
|
||||||
* Go to https://www.reddit.com/prefs/apps
|
- Go to https://www.reddit.com/prefs/apps
|
||||||
* Click "Create app"
|
- Click "Create app"
|
||||||
* Name: whatever
|
- Name: whatever
|
||||||
* App type: script
|
- App type: script
|
||||||
* Description: blank
|
- Description: blank
|
||||||
* About URL: blank
|
- About URL: blank
|
||||||
* Redirect URL: your GitHub profile
|
- Redirect URL: your GitHub profile
|
||||||
* Submit, copy the client ID and client secret into `settings.py` below
|
- Submit, copy the client ID and client secret into `settings.py` below
|
||||||
|
|
||||||
```text
|
```text
|
||||||
(env) $ vim settings.py.example
|
(env) $ vim settings.py.example
|
||||||
|
@ -109,7 +109,7 @@ stdout_logfile_maxbytes=1MB
|
||||||
[program:qotnewsreader]
|
[program:qotnewsreader]
|
||||||
user=qotnews
|
user=qotnews
|
||||||
directory=/home/qotnews/qotnews/readerserver
|
directory=/home/qotnews/qotnews/readerserver
|
||||||
command=node main.js
|
command=node index.js
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
stderr_logfile=/var/log/qotnewsreader.log
|
stderr_logfile=/var/log/qotnewsreader.log
|
||||||
|
|
Loading…
Reference in New Issue
Block a user