https://cosmos.ghyston.com/ - live site
Run the following commands in your project directory to set up the backend:
docker-compose up -ddotnet tool restore- Run the migration: run the app backend
- Create a new migration:
dotnet ef migrations add <MigrationName>
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.
To seed the database with random stars, run the following SQL files in order:
TestData/SeedTestPlanets.sqlTestData/SeedTestStarMaps.sqlTestData/SeedTestStars.sqlTestData/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.