A tutorial news app exemplifying Lightning Network micropayments integration
Clone or download
MaxFangX Merge pull request #1 from JonCooperWorks/fix-reqs
Add protobuf and googleapis-common-protos to requirements.txt
Latest commit d1e18c1 Aug 23, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
coindesk Remove PostgreSQL from requirements.txt Jul 25, 2017
.gitignore Working vanilla homepage Jun 13, 2017
Procfile Init Heroku Django project Jun 13, 2017
README.md readme: Fix code blocks Aug 8, 2017
db.sqlite3 Add default database state Jun 22, 2017
manage.py Init Heroku Django project Jun 13, 2017
requirements.txt Fixed wrong grpc name Aug 17, 2017
runtime.txt Init Heroku Django project Jun 13, 2017

README.md

Lightning Coindesk

A tutorial news app exemplifying Lightning Network micropayments integration.

Features a production-ready configuration for Heroku.

Setup

Set up your virtual environment

mkdir ln-coindesk && cd ln-coindesk

virtualenv --python=/usr/bin/python2.7 deskenv
source deskenv/bin/activate

git clone https://github.com/MaxFangX/lightning-coindesk
cd lightning-coindesk

pip install -r requirements.txt

Run your local app!

python manage.py createsuperuser
python manage.py migrate
python manage.py runserver

View the Lightning Coindesk app at localhost:8000

Deployment to Heroku

git init
git add -A
git commit -m "Initial commit"

heroku create
git push heroku master

heroku run python manage.py migrate

See also, a ready-made application, ready to deploy.

License: MIT