Catmash is a web application that puts in duel pictures of cats so that users vote for the cutest cat.
-
Build the EntityModel class library with Release configuration:
dotnet build -c Release
. -
Run Seed.csx script with
dotnet-script Seed.csx x y
wherex
andy
are respectively the initial score and number of votes you want to assign to all images. -
The output of the script is the initialized SQLite database file
CatmashDatabase.db
. -
Move
CatmashDatabase.db
to the CatmashWeb folder as the connection string in Startup.cs points to that location. -
From CatmashWeb folder, run the application with
dotnet run
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.