wownero-funding-system/README.md

69 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2018-10-19 23:00:29 +01:00
# Wownero Funding System
2018-06-26 22:48:25 +01:00
2018-10-19 23:00:29 +01:00
![whoop](https://i.imgur.com/xVS3UGq.png)
2018-06-26 22:48:25 +01:00
2018-10-19 23:00:29 +01:00
A simple Flask application for managing donations.
2018-06-26 22:48:25 +01:00
2018-10-19 23:00:29 +01:00
Example
-------
[https://funding.wownero.com](https://funding.wownero.com)
## Installation
Good luck with trying to get this to run! Some pointers:
#### Daemon
First make sure the daemon is up.
```bash
./wownerod --max-concurrency 4
```
#### Wallet RPC
Expose wallet via RPC.
```bash
./wownero-wallet-rpc --rpc-bind-port 45678 --disable-rpc-login --wallet-file wfs --password ""
2018-06-26 22:48:25 +01:00
```
2018-10-19 23:00:29 +01:00
#### Web application
Download application and configure.
```
sudo apt install libjpeg-dev libpng-dev python-virtualenv python3 redis-server postgresql-server postgresql-server-dev-*
2020-06-28 16:29:48 +01:00
git clone https://git.wownero.com/wownero/wownero-funding-system.git
cd wownero-funding-system
2018-06-26 22:48:25 +01:00
virtualenv -p /usr/bin/python3
source venv/bin/activate
pip uninstall pillow
2018-06-26 22:48:25 +01:00
pip install -r requirements.txt
CC="cc -mavx2" pip install -U --force-reinstall pillow-simd
2018-06-26 22:48:25 +01:00
cp settings.py_example settings.py
- change settings accordingly
2018-10-19 23:00:29 +01:00
```
Prepare a database in postgres and create an user for it.
Run the application:
```bash
2018-06-26 22:48:25 +01:00
python run_dev.py
```
2018-10-19 23:00:29 +01:00
Beware `run_dev.py` is meant as a development server.
When running behind nginx/apache, inject `X-Forwarded-For`.
2018-10-19 23:00:29 +01:00
### Contributors
2018-06-26 22:48:25 +01:00
2018-10-19 23:00:29 +01:00
- [camthegeek](https://github.com/camthegeek)
2018-06-26 22:48:25 +01:00
2018-10-19 23:00:29 +01:00
### License
2018-09-01 19:32:02 +01:00
© 2018 WTFPL Do What the Fuck You Want to Public License