A simple Python Flask application for serving up Marvel comics information for the Weekly Pulls project.
Create a .env file with the Marvel API details as follows:
MAPI_PUBLIC_KEY=yourpubkey
MAPI_PRIVATE_KEY=yourprivkeyThen choose one of the following options to run:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
source .env
python app.py # or: heroku local -e .envdocker build -t wpmarvel .
docker run -d -p 5000:5000 --env-file .env wpmarvelheroku create yourappname
cat .env | xargs -I % heroku config:set % -a yourappname
git push heroku master