https://github.com/sid22/mars-rover
PyCon India 2020 talk sample Django web application
https://github.com/sid22/mars-rover
Last synced: over 1 year ago
JSON representation
PyCon India 2020 talk sample Django web application
- Host: GitHub
- URL: https://github.com/sid22/mars-rover
- Owner: sid22
- Created: 2020-09-30T18:26:29.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-06-08T19:10:18.000Z (about 5 years ago)
- Last Synced: 2025-01-21T19:53:03.553Z (over 1 year ago)
- Language: Python
- Size: 2.61 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample Django Application

Sample app to deploy on AWS Lambda for my talk at PyCon India 2020
It displays data from [Nasa Data API](https://api.nasa.gov/)
## Setup
1. Create a Python 3.6 virtual env
```
python3 -m venv venv
```
2. Activate the virtual env
```
source venv/bin/activate
```
3. Upgrade pip to latest version and install dependencies
```
pip install --upgrade pip && pip install -r requirements.txt
```
4. Run the application!
```
cd src/
python manage.py runserver
```
## Generating NASA DATA API Key
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.
1. Head over to [NASA DATA API](https://api.nasa.gov)
2. Look for 'Generate API Key' section
3. Fill in the form details
4. You should see something like this, copy this key to the [.sample-env](.sample-env) file

### Acknowledgements
- [Nasa Data API](https://api.nasa.gov/)
- [Nasa Insight API Team](https://api.nasa.gov/assets/insight/insight_mars_wind_rose.html)