Skip to content

A tutorial news app exemplifying Lightning Network micropayments integration

Notifications You must be signed in to change notification settings

BrianSipple/lightning-coindesk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A tutorial news app exemplifying Lightning Network micropayments integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 83.0%
  • HTML 7.5%
  • CSS 6.8%
  • JavaScript 2.7%