Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lightninglabs/lightning-coindesk
A tutorial news app exemplifying Lightning Network micropayments integration
https://github.com/lightninglabs/lightning-coindesk
Last synced: about 1 month ago
JSON representation
A tutorial news app exemplifying Lightning Network micropayments integration
- Host: GitHub
- URL: https://github.com/lightninglabs/lightning-coindesk
- Owner: lightninglabs
- Created: 2017-06-13T01:17:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-23T21:39:25.000Z (about 2 years ago)
- Last Synced: 2024-10-31T17:39:28.516Z (about 1 month ago)
- Language: Python
- Size: 84 KB
- Stars: 54
- Watchers: 9
- Forks: 30
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-lightning-network - lightning-coindesk - An example news app exemplifying Lightning Network micropayments integration (Developer Resources / Example Projects)
- awesome-lightning-network - lightning-coindesk - An example news app exemplifying Lightning Network micropayments integration (Developer Resources / Example Projects)
README
# Lightning Coindesk
A tutorial news app exemplifying Lightning Network micropayments integration.Features a production-ready configuration for Heroku.
## Setup
Set up your virtual environment
```shell
mkdir ln-coindesk && cd ln-coindeskvirtualenv --python=/usr/bin/python2.7 deskenv
source deskenv/bin/activategit clone https://github.com/MaxFangX/lightning-coindesk
cd lightning-coindeskpip install -r requirements.txt
```Run your local app!
```shell
python manage.py createsuperuser
python manage.py migrate
python manage.py runserver
```View the Lightning Coindesk app at `localhost:8000`
## Deployment to Heroku
```shell
git init
git add -A
git commit -m "Initial commit"heroku create
git push heroku masterheroku run python manage.py migrate
```See also, a [ready-made application](https://github.com/heroku/python-getting-started), ready to deploy.
## License: MIT