Pierre's Treats

By Marni Sucher

Table of Contents

  1. Technologies Used
  2. Description
  3. Setup/Installation Requirements
  4. Known Bugs
  5. License
  6. Contact Information

Technologies Used

  • C#
  • .NET 5.0.100
  • ASP.NET Core MVC
  • dotnet ef 3.0.0
  • Microsoft.NET.Sdk.Web
  • Microsoft.EntityFrameworkCore 5.0.0
  • Microsoft.EntityFrameworkCore.Design -v 5.0.0
  • Pomelo.EntityFrameworkCore.MySql 5.0.0-alpha.2
  • Identity

Description

This web-based application tracks all the machines and Engineers at a fictional factory. Users may add/remove engineers licensed to fix a machine or add/remove machines an engineer is licensed to fix.

Setup/Installation Requirements

Install C#, .NET, MySQL Community Server and MySQL Workbench

Clone the project

  • Navigate to the directory inside of which you wish to house this project
  • Clone this project with the command $ git clone https://github.com/marnionrails/PierresTreats.Solution

Import and connect the database

  • In your terminal, navigate to the production project directory with the command $ cd PierresTreats.Solution/PierresTreats
  • In your terminal, create a file within the project in which to store your connection string for connecting the project to the database with the command touch appsettings.json
  • In your text editor add the following code to the newly created appsettings.json file. *Note that uid and pwd may vary depending on your local MySql configurations.
{
  "ConnectionStrings": {
    "DefaultConnection": "Server=localhost;Port=3306;database=[marni_sucher];uid=root;pwd=[YOUR-PASSWORD-HERE];"
  }
}
  • Update the database with this command: $ dotnet ef database update

Run the project

  • Recreate project environment and install required dependencies with terminal command $ dotnet restore
  • Run the program in the console with the command $ dotnet run

Known Bugs

  • No known bugs.

License

MIT

Copyright (c) 2021 Marni Sucher

Contact Information

Marni Sucher