Sample app to deploy on AWS Lambda for my talk at PyCon India 2020
It displays data from Nasa Data API
- Create a Python 3.6 virtual env
python3 -m venv venv
- Activate the virtual env
source venv/bin/activate
- Upgrade pip to latest version and install dependencies
pip install --upgrade pip && pip install -r requirements.txt
- Run the application!
cd src/
python manage.py runserver
By default the app uses a DEMO_KEY
to make API calls, it maybe however too restrictive depending on your usage. So you might want to generate your own key.
- Head over to NASA DATA API
- Look for 'Generate API Key' section
- Fill in the form details
- You should see something like this, copy this key to the .sample-env file