An ASP.NET Core MVC web application designed to teach young users about DNA and Codons by creating creatures and mixing their DNA.
- Click here to download a .NET Core SDK from Microsoft Corp.
- Click here to download the 64-bit .NET Core SDK from Microsoft Corp.
Enter the command dotnet tool install -g dotnet-script
in Terminal (macOS) or PowerShell (Windows).
Enter the following commands in Terminal (macOS) or PowerShell (Windows):
cd desktop
git clone https://github.com/kwicz/CreatureTeacher.Solution
cd CreatureTeacher.Solution
In your terminal, type the following commands to make sure all necessary packages are included in the project and to launch in your browser:
cd CreatureTeacher
dotnet restore
dotnet build
Enter the following to update your database and tables for the program:
dotnet ef database update
In your terminal, type:
dotnet watch run
Hold command
while clicking the link in your local terminal to your local address, which should be:
http://127.0.0.1:5000
- Open MySQL WorkBench.
- Navigate to the
Schema
tab. - Right click on
creature_teacher
and selectTable Data Import Wizard
. - Select
creature_teacher-eyes.utf8.csv
from the root directory of the project and clickNext
. - Select
Use existing table
and from the drop down, selectcreature_teacher.eyes
. ClickNext
. - Confirm the data is correct and click
Next
. - Confirm executing the import and Make sure 16 lines were imported.
- Repeat steps 3-7 for the mouth, head, and tails tables.
- Congratulations! You have filled the features tables in the
creature_teacher
database that you can now query.
- If you don't have it already, install Docker
- Make sure Docker is running
- Build the Docker image
docker build -t my-aspnet-app .
- Run the container
docker run -p 8080:8080 my-aspnet-app
- Test the app in your browser: Go to http://localhost:8080 and check if it works!
No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
- C#
- .NET Core 8.0
- ASP.NET Core MVC
- MySQL 8.0.0
- MySQL Workbench 8.0
- EF Core 8.0.0
- Razor 8.0.0
- Affinity Designer
- Docker
- DNA Lessons from Khan Academy
Copyright (c) 2020 Team Creature Teacher