mirror of
https://github.com/tanrax/RSSingle.git
synced 2025-03-03 03:35:46 +01:00
Formatted documentation
This commit is contained in:
@@ -1,15 +1,25 @@
|
|||||||
## Development
|
|
||||||
|
|
||||||
### Compiling
|
# Development
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
## Compiling
|
||||||
|
|
||||||
|
*Commands are run from within the `/Source/` folder.*
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
pyinstaller --onefile rssingle.py
|
pyinstaller --onefile rssingle.py
|
||||||
```
|
```
|
||||||
|
<br>
|
||||||
|
|
||||||
Old versions
|
### Old Versions
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm --volume $PWD:/app python:3.8-buster /bin/bash -c "cd /app; pip3 install -r requirements.txt; pyinstaller --onefile rssingle.py"
|
docker run --rm --volume $PWD:/app python:3.8-buster /bin/bash -c "cd /app; pip3 install -r requirements.txt; pyinstaller --onefile rssingle.py"
|
||||||
```
|
```
|
||||||
|
|
||||||
You will find the binary in `dist`.
|
You will find the binary in `/dist/`.
|
||||||
|
|
||||||
|
<br>
|
@@ -1,16 +1,21 @@
|
|||||||
## Run
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
1. Download the binary.
|
1. Download the binary.
|
||||||
|
|
||||||
**Linux**
|
### Linux
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
wget https://github.com/tanrax/RSSingle/releases/download/v1.0.0/rssingle
|
wget https://github.com/tanrax/RSSingle/releases/download/v1.0.0/rssingle
|
||||||
```
|
```
|
||||||
|
|
||||||
**MacOS and Windows**
|
<br>
|
||||||
|
|
||||||
Coming soon
|
### MacOS / Windows
|
||||||
|
|
||||||
|
*Coming soon*
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
2. Gives execution permissions.
|
2. Gives execution permissions.
|
||||||
|
|
||||||
@@ -18,7 +23,10 @@ Coming soon
|
|||||||
chmod +x rssingle
|
chmod +x rssingle
|
||||||
```
|
```
|
||||||
|
|
||||||
3. In the same directory as the binary, you can create a local `config.yml` file in this format:
|
<br>
|
||||||
|
|
||||||
|
3. In the same directory as the binary, you can <br>
|
||||||
|
create a local `config.yml` file in this format:
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
title: My RSS Feed
|
title: My RSS Feed
|
||||||
@@ -30,12 +38,14 @@ feeds:
|
|||||||
- https://republicaweb.es/feed/
|
- https://republicaweb.es/feed/
|
||||||
```
|
```
|
||||||
|
|
||||||
If not, you can download the example in the repository.
|
If not, you can download the **[Example]** in the repository.
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
curl -o config.yml https://raw.githubusercontent.com/tanrax/RSSingle/master/config.yml
|
curl -o config.yml https://raw.githubusercontent.com/tanrax/RSSingle/master/config.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
4. Run the binary.
|
4. Run the binary.
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
@@ -43,3 +53,9 @@ curl -o config.yml https://raw.githubusercontent.com/tanrax/RSSingle/master/conf
|
|||||||
```
|
```
|
||||||
|
|
||||||
A file called `rss.xml` will be created.
|
A file called `rss.xml` will be created.
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
<!----------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
[Example]: ../Source/config.yml
|
@@ -46,6 +46,8 @@
|
|||||||
|
|
||||||
**[@shymega]** for his original project **[SingleRSS]**.
|
**[@shymega]** for his original project **[SingleRSS]**.
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
|
||||||
<!----------------------------------------------------------------------------->
|
<!----------------------------------------------------------------------------->
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user