Description • Technologies Used • Setup and Installation Requirements • Known Bugs • License
- C#
- .NET
- MVC
- SQL Workbench
- Entity Framework
- Clone this repo.
- Open your terminal (e.g., Terminal or GitBash) and navigate to this project's production directory called "HairSalon".
- This program was built using
Microsoft .NET SDK 6.0
, and may not be compatible with other versions. - Open the browser to [https://localhost:5001]. If you cannot access localhost:5001 it is likely because you have not configured a .NET developer security certificate for HTTPS. To learn about this, visit: Redirecting to HTTPS and Issuing a Security Certificate.
- Create an
appsetting.json
file in the "HairSalon" directory of the project. - Within
appsettings.json
, put in the following code, replacing theuid
andpwd
values with your own username and password for MySQL. Be sure to exclude the brackets as well
{
"ConnectionStrings": {
"DefaultConnection": "Server=localhost;Port=3306;database=noah_atkinson;uid=[YOUR-USERNAME-HERE];pwd=[YOUR-PASSWORD-HERE];"
}
}
- If you'd like to push this cloned project to a public-facing repository, remember to add the appsettings.json file to your .gitignore first.
- Once "appsettings.json" file has been created, navigate back to SQL Workbench.
- Import the database named
"noah_atkinson.sql"
from the root directory of the project.
- Open SQL workbench.
- Navigate to the "Administration" tab in SQL Workbench.
- Click
"Data Import/Restore"
- Select the radio button "Import from Self-Contained File" and include file path to the sql file of this project that has been cloned to your machine.
- In "Default Schema to be Imported to" click "New".
- Name the schema
"hair_salon"
then click "OK". - Once named, switch to
"Import Progress"
tab and click"Start Import"
. - In the command line, run the command
dotnet run
to compile and execute the application. - Optionally, you can run
dotnet build
to compile this app without running it.
- None
If you have any issues or have questions, ideas or concerns please contact me at noahatkinson1.1@gmail.com
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2023 Noah Atkinson