- C#
- MSTest
- Git
- Visual Studio Code
- ASP.NET Core MVC
- MySQL
- Razor
_A website which allows a factory manager to assign engineers to machines they may repair and vice versa _
- Clone this respository to your desktop
- Navigate to the top level of the directory
- Open in your code editor
- _Create a file named "appsettings.json" in the Factory directory with the following code, replacing the "YOUR" statements with applicable information:
{ "ConnectionStrings": { "DefaultConnection": "Server=localhost;Port=3306;database=YOUR-DATABASE-NAME;uid=YOUR-USERNAME;pwd=YOUR-MYSQL-PASSWORD;" } }
- In the Factory dictionary, restore with $ dotnet restore
- Download MySQL and MySQL Workbench if you do not have them already
- In MySQL Workbench, go to the Navigator > Administration window and select Data Import/Restore
- In Import Options select Import from Self-Contained File
- Navigate to julien_lenaz.sql in the Factory directory
- Under Default Schema to be Imported To, select the New button
- Enter the name of your database and click Ok
- Click Start Import
- In the terminal, enter $ dotnet-ef database update to create the database
- In the terminal, enter $ dotnet run to run the program
- No known bugs
Copyright (c) 2023 Julien Lenaz