https://github.com/gr0vity-dev/nano_recurring_payments
https://github.com/gr0vity-dev/nano_recurring_payments
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/gr0vity-dev/nano_recurring_payments
- Owner: gr0vity-dev
- License: mit
- Created: 2022-04-30T22:18:58.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T22:41:47.000Z (about 4 years ago)
- Last Synced: 2025-02-02T08:42:18.219Z (over 1 year ago)
- Language: Python
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nano recurring payments
If you want to give it a try, simply claim some free nyano at https://nyanowallet.cc and setup a recurring payment afterards.
### Quick Start
Spin up the containers:
```sh
$ docker-compose up -d --build
```
Open your browser to [http://localhost:5003](http://localhost:5003)
It is recommended to run your own instance of the nano node.
Config file is located in project -> server -> config.py
To setup the cronjon do, setup a virtual python environment (venv)
```sh
cd /path/to/nano_recurring_payments/
virtualenv nano_rp_venv
source nano_rp_venv/bin/activate
```
```
crontab -e
```
Add the following line to run the script every minute (modify your path)
```
* * * * * cd /path/to/nano_recurring_payments/ /usr/bin/flock -n /tmp/cron_rp.lockfile && /path/to/nano_recurring_payments/nano_rp_venv/bin/python cron_rpm.py
```
```
tips to fund the https://nyanowallet.cc faucet are welcome :-)
nano_1nyano1gy9khpmwcfazh3hxxxposu3yj71yow9d8c9d19567oom316getmsg
```