Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Weekly Pulls - Marvel

A simple Python Flask application for serving up Marvel comics information for the Weekly Pulls project.

Development Setup

Create a .env file with the Marvel API details as follows:

MAPI_PUBLIC_KEY=yourpubkey
MAPI_PRIVATE_KEY=yourprivkey

Then choose one of the following options to run:

Pure Python

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
source .env
python app.py  # or: heroku local -e .env

Docker

docker build -t wpmarvel .
docker run -d -p 5000:5000 --env-file .env wpmarvel

Production Setup

Heroku

heroku create yourappname
cat .env | xargs -I % heroku config:set % -a yourappname
git push heroku master

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published