Deep Impact is a web application designed to provide users with insights into the potential dangers of asteroid impacts. Utilizing the NASA NeoWs API, we've developed a simulation tool that visualizes incoming asteroids and explores various methods of asteroid deflection.
To learn more about Deep Impact, check out our Deep Impact GitHub.
- Asteroid Visualization: Visualize incoming asteroids using real-time data from the NASA NeoWs API.
- Scenario & Deflection Strategies: Explore various methods of asteroid deflection, such as Nuclear Detonation, Kinetic Impact, and Gravity Tractor.
- Simulation Tool: Simulate asteroid trajectories and deflection outcomes.
- Dashboard: View the dashboard, and other pages with relevant information and insights.
-
Set Up Python Environment:
- Vanilla Python:
python -m venv .venv
- Virtual Environment Wrapper:
mkvirtualenv .venv
- Activate the environment:
source .venv/bin/activate
- Vanilla Python:
-
Install Required Packages:
- Navigate to the backend directory and install dependencies:
cd Deep-Impact/backend pip install -r requirements.txt
- Navigate to the backend directory and install dependencies:
-
Initial Migration(s):
- Ensure you're located in the path: Deep-Impact/backend
python manage.py makemigrations python manage.py migrate
- Ensure you're located in the path: Deep-Impact/backend
-
Making Environmental Variables:
- Ensure you're located in the path: Deep-Impact/backend
touch .env
- Follow the .env.sample as a template to fill in your environmental variables
- Ensure you're located in the path: Deep-Impact/backend
-
Start Django Server:
- Ensure you're located in the path: Deep-Impact/backend
python manage.py runserver
- Ensure you're located in the path: Deep-Impact/backend
-
Install Node Modules:
- Navigate to the frontend directory and install dependencies:
npm install
- Navigate to the frontend directory and install dependencies:
-
Making Environmental Variables:
- Ensure you're located in the path: Deep-Impact/frontend
touch .env
- Follow the .env.sample as a template to fill in your environmental variables
- Ensure you're located in the path: Deep-Impact/frontend
-
Run Development Server:
- Start the development server:
npm run dev
- Start the development server:
Deep Impact is open-source software released under the MIT License. Feel free to use, modify, and distribute the codebase in accordance with the terms of the license.
Thank you for choosing Deep Impact. We hope you enjoy exploring our project and learning more about asteroid impacts!