Capisso is organisation management tool that tracks student projects.
You can access Capisso at https://capisso.jedrobertson.com to test the application. You will need to login with a aucklanduni.ac.nz account that has been whitelisted, contact the maintainers if you should be, but are not, whitelisted.
- Ensure Node.js v12 and Yarn v1.2.x are installed and on the system path.
- Ensure ASP.NET Core 3.1.x is installed on on the system path.
- Ensure MariaDB 10.4 is installed, configured and running. Guide for linux systems
- Create a MariaDB database with name
capisso
. - Create a MariaDB user with username
efcoreuser@localhost
and passwordpassword
.
CREATE DATABASE capisso;
CREATE USER 'efcoreuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON `capisso`.* TO 'efcoreuser'@'localhost';
- In the server directory, run
dotnet run
. - In the client directory, run
yarn
followed byyarn start
- In the server directory, run
dotnet test
. - In the client directory, run
yarn test
- Modify Entity classes or database context
- Run
dotnet ef migrations add <MigrationName>
OR in the Package Manager console:PM> Add-Migration <MigrationName>
- Restart the server or manually apply the migration using:
dotnet ef database update
OR in the Package Manager console:PM> Update-Database
- See here for instructions