File Management System for GAEPD Hazardous Waste
There are two launch profiles:
-
"FMS Local" -- Does not connect to any external server and no VPN access is needed (or even internet access except to load Google Maps). Uses LocalDB for storage with seed data and creates a local user account.
-
"FMS Dev Server" -- Connects to the dev database server, so it requires a VPN connection. Uses your SOG account to log in. To use this profile, you must add the "appsettings.Development.json" file from the "app-config" repo.
Most development should be done using the Local profile. The Dev Server profile is only needed when specifically troubleshooting issues with the database server or SOG account.
NOTE: In order to load Google Maps on the Location Search page, you must add a Google API key in the "appsettings.Local.json" or "appsettings.Development.json" file.
Instructions for adding a new Entity Framework database migration:
-
Open a command prompt to the root folder of the solution.
-
Run the following command with an appropriate migration name:
dotnet ef migrations add NAME_OF_MIGRATION --msbuildprojectextensionspath ..\artifacts\FMS.Infrastructure\obj\
Example to show exact path:
TK's path: D:\source\repos\FMS\fms.infrastructure> dotnet ef migrations add NAME_OF_MIGRATION --msbuildprojectextensionspath ..\artifacts\FMS.Infrastructure\obj\