An educational game using data from NASA's PACE mission
2024 NASA Space Apps Challenge - Kaohsiung
#PACE #NASA #Plankton #Aerosol #Cloud #Ocean #Ecosystem
Suggested Python version is: 3.9
git clone https://github.com/heyaustin/PACExplorer.gitpip install -r requirements.txtRun the following Python codes and record secret_key
from django.core.management.utils import get_random_secret_key
secret_key = get_random_secret_key()
print(secret_key)Create .env file and add the following variables, where Django_SECRET_KEY is the secret_key you just generated.
Django_SECRET_KEY=secret_key
secret=""
client_id=""
DEV=""Run DB migration
python3 manage.py makemigrations
python3 manage.py migrateRun server
python3 manage.py runserverEnter the following url in the browser
http://localhost:8000/- base - Main web development
- api - API settings (Our website currently does not support RESTful)
- migrations - Update the database
- templates - To override the front-end componenets in the folder
templatesin the main directory - models.py - Database settings
- forms.py - To override the default form format of Django
- admin.py - Settings of the backend monitor system
- urls.py - Set up valid URL and the corresponding view functions
- views.py - Website core logic implementation
- pace - Backend settings
- templates - Web templates to be overridden by files in base/template
- static - Include static resources, such as images, audio, .css, .js, fonts ...
Please see requirements.txt for more details
- django v4.2.1
- pillow v10.0.0
- line-bot-sdk v3.2.0
- Bootstrap v5.1.3
- python-dotenv v0.21.0 ...
- Austin
- Will Cheng
- YuehHsi
- Favicon: Icon by Ylivdesign