Django Project
Prerequisities / Technical Details
Django 2.2.3 or higher
Python 3.7
API Details
https://api.nasa.gov/
Installing
You need to install Python 3.7.
Django 2.2.
In Ubuntu, Mint and Debian you can install Python 3 like this:
$ sudo apt-get install python3 python3-pip
For other Linux flavors, macOS and Windows, packages are available at
You can find further information about Django
https://docs.djangoproject.com/en/2.2/topics/install/
How to Start Project
If you are using Linux Destro like Ubuntu, You need to replace pip and python to pip3 and python3
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
Database Informations
Sqllite used.
Admin Informations
You can reach Admin panel from /admin. But before you need an account with admin permission, to create this; .
python manage.py createsuperuser
IMPORTANT
For development at nasa/settings.py -> DEBUG must be set to TRUE
(It left as true)