Send notifications for various Steem events.
- Python 3.5+
- MongoDB (on dev machine)
- Docker and Docker Compose (on production machine)
Make sure you have a MongoDB instance running on your dev machine.
-
Create and activate new virtual env:
python3 -m venv venv . venv/bin/activate
-
Install requirements:
pip install -r requirements.txt
-
Copy
.env.example
to.env
and fill in the values:MONGO_URI= TELEGRAM_TOKEN= MAILGUN_DOMAIN_NAME= MAILGUN_API_KEY= STEEM_WALLET=
-
Run the app:
python src/app.py
-
Open
http://localhost:5000
using your browser.
Make sure you have Docker and Docker Compose installed on the server.
-
Copy
.env.example
to.env
and fill in the values. -
Build the containers:
docker-compose build
-
Run the containers:
docker-compose up -d
On development machine, run the following command:
python -m unittest -b
to run the unit tests.