pull/78/head
fabston 2021-08-05 07:02:06 +02:00
rodzic 90d5558fa3
commit 6f0df8aaf1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 83970F302C5860B2
3 zmienionych plików z 10 dodań i 4 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
FROM python:3.9-alpine
LABEL Auther="jon4hz"
LABEL Auther="fabston"
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN apk add gcc python3-dev openssl-dev musl-dev libffi-dev &&\

Wyświetl plik

@ -48,7 +48,7 @@ Find out more at [WebhookAlerts.com](https://webhookalerts.com). Got a question?
> 💡 Got a feature idea? Open an [issue](https://github.com/fabston/TradingView-Webhook-Bot/issues/new?assignees=&labels=enhancement&template=feature-request---.md) and I might implement it.
## Installation
> ⚠️ Best to run the bot on a VPS. I can recommend <a href="https://fabston.dev/hetzner" title="Get €20 in cloud credits">Hetzner</a>'s CX11 VPS for 2.89€/month.
> ⚠️ Best to run the bot on a VPS. I can recommend <a href="https://fabston.dev/hetzner" title="Get €20 in cloud credits">Hetzner</a>'s CX11 VPS for 2.89€/month. [Sign up](https://fabston.dev/hetzner) now and receive **€20 free** credits.
1. Clone this repository `git clone https://github.com/fabston/TradingView-Webhook-Bot.git`
1. Create your virtual environment `python3 -m venv TradingView-Webhook-Bot`
1. Activate it `source TradingView-Webhook-Bot/bin/activate && cd TradingView-Webhook-Bot`
@ -73,13 +73,19 @@ Find out more at [WebhookAlerts.com](https://webhookalerts.com). Got a question?
1. Run the bot with `python main.py`
1. [PM2](https://github.com/fabston/TradingView-Webhook-Bot/issues/28#issuecomment-766301062) can help you in running the app in the background / on system boot.
### Docker
1. Clone this repository `git clone https://github.com/fabston/TradingView-Webhook-Bot.git`
1. Edit and update [`config.py`](https://github.com/fabston/TradingView-Webhook-Bot/blob/master/config.py)
1. `docker-compose build`
1. `docker-compuse up`
*It is recommended to run flask on a different port like 8080. It is then necessary to forward port 80 to 8080.*
## Images
![Webhook Bot](https://i.imgur.com/vZA42cc.png)
## How can I help?
All kinds of contributions are welcome 🙌! The most basic way to show your support is to `⭐️ star` the project, or raise [`🐞 issues`](https://github.com/fabston/TradingView-Webhook-Bot/issues/new/choose). You can also support this project by becoming a [sponsor on GitHub](https://github.com/sponsors/fabston) to ensure this journey continues indefinitely! 🚀
All kinds of contributions are welcome 🙌! The most basic way to show your support is to `⭐️ star` the project, or raise [`🐞 issues`](https://github.com/fabston/TradingView-Webhook-Bot/issues/new/choose). You can also support this project by becoming a [`💚 sponsor on GitHub`](https://github.com/sponsors/fabston) to ensure this journey continues indefinitely! 🚀
***

Wyświetl plik

@ -1,5 +1,5 @@
---
version: '3.5'
version: '3.9'
services:
tradingview-webhook-bot:
build: .