You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xmrdsc
a127c4e301
|
6 years ago | |
---|---|---|
funding | 6 years ago | |
.gitignore | 6 years ago | |
LICENSE | 6 years ago | |
README.md | 6 years ago | |
requirements.txt | 6 years ago | |
run_dev.py | 6 years ago | |
settings.py_example | 6 years ago |
README.md
Wownero Funding System
A simple Flask application for managing donations.
Example
Installation
Good luck with trying to get this to run! Some pointers:
Daemon
First make sure the daemon is up.
./wownerod --max-concurrency 4
Wallet RPC
Expose wallet via RPC.
./wownero-wallet-rpc --rpc-bind-port 45678 --disable-rpc-login --wallet-file wfs --password ""
Web application
Download application and configure.
sudo apt install libjpeg-dev libpng-dev python-virtualenv python3 redis-server postgresql-server postgresql-server-dev-*
git clone https://github.com/skftn/wownero-wfs.git
cd wownero-wfs
virtualenv -p /usr/bin/python3
source venv/bin/activate
pip uninstall pillow
pip install -r requirements.txt
CC="cc -mavx2" pip install -U --force-reinstall pillow-simd
cp settings.py_example settings.py
- change settings accordingly
Prepare a database in postgres and create an user for it.
Run the application:
python run_dev.py
Beware run_dev.py
is meant as a development server.
When running behind nginx/apache, inject X-Forwarded-For
.
Contributors
License
© 2018 WTFPL – Do What the Fuck You Want to Public License