Updated README.md
This commit is contained in:
pare
a4cacc8fc0
commit
ac8682faee
S'han modificat 1 arxius amb 7 adicions i 8 eliminacions
15
README.md
15
README.md
|
@ -7,21 +7,20 @@ Publish to Mastodon's server the rss feed of your choice.
|
|||
|
||||
- **Python 3**
|
||||
- Postgresql server
|
||||
- Everything else at the top of `mastofeeds.py`!
|
||||
- Mastodon's bot account
|
||||
|
||||
### Usage:
|
||||
|
||||
Within Python Virtual Environment:
|
||||
|
||||
1. Run 'python db-setup.py' to create needed database and table. It's needed to control what feeds are already published. db-setup.py
|
||||
1. Run `pip install -r requirements.txt` to install all needed libraries.
|
||||
|
||||
2. Run `python db-setup.py` to create needed database and table. It's needed to control what feeds are already published. db-setup.py
|
||||
will also ask you the feed's url.
|
||||
|
||||
2. Run 'python setup.py' to get your bot's access token of an existing user. It will be saved to 'secrets/secrets.txt' for further use.
|
||||
3. Run `python setup.py` to get your bot's access token of an existing user. It will be saved to 'secrets/secrets.txt' for further use.
|
||||
|
||||
3. Run 'python mastofeeds.py' to start publishing feeds.
|
||||
|
||||
4. Use your favourite scheduling method to set mastofeeds.py to run regularly.
|
||||
|
||||
Note: install all needed packages with 'pip install package' or use 'pip install -r requirements.txt' to install them.
|
||||
4. Run `python mastofeeds.py` to start publishing feeds.
|
||||
|
||||
5. Use your favourite scheduling method to set `python mastofeeds.py` to run regularly.
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència