Skip to content

GhystonSoftware/cosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmos

https://cosmos.ghyston.com/ - live site

Dev setup

Backend

Run the following commands in your project directory to set up the backend:

  • docker-compose up -d
  • dotnet tool restore
  • Run the migration: run the app backend
  • Create a new migration: dotnet ef migrations add <MigrationName>

Frontend

Run npm install inside ./Web/client-app to install the dependencies.

To run the app from command line, run npm run dev inside the same directory.

Seeding random stars in the database

To seed the database with random stars, run the following SQL files in order:

  • TestData/SeedTestPlanets.sql
  • TestData/SeedTestStarMaps.sql
  • TestData/SeedTestStars.sql
  • TestData/SeedTestVisibleStars.sql

The latter three files are generated by the TestData/generateTestStars.py script, you can edit the script and re-generate the scripts to add new columns or change their random value ranges.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors