Project Setup - nogalskisam/Bug-Tracker GitHub Wiki
Welcome to the Bug-Tracker project setup page.
Prerequisites
- .NET Core 2.2 (https://dotnet.microsoft.com/download/dotnet-core/2.2)
- npm (https://www.npmjs.com/get-npm)
- Angular (https://angular.io/guide/quickstart)
Setup with VS Code
- Build the application by using the
dotnet buildcommand in the .sln directory - Browse to the
BugTracker.Sitedirectory and install npm packages usingnpm install - Use
ng buildto build the Angular Application - Use
dotnet runto run application. Alternatively run application from Visual Studio
Create the database
- Create a new local database. For this project, you can use
BugTracker - Modify the string variable named
connectioninStartup.csin theBugTracker.Siteproject (to be moved to appsettings.json Connection String in the future) - Modify the
DefaultConnectionconnection string inappsettings.jsonto be a connection to your database
VS Code/.NET Core CLI
- Use the
dotnet ef database updatecommand to update the database
Visual Studio
- Open the Package Manage Console by going to Tools > NuGet Package Manager > Package Manager Console
- Run the
update-databasecommand with theBugTracker.Siteas the startup project andBugTracker.DataAccessas the default project