Skip to content

uk-gov-mirror/SkillsFundingAgency.das-provider-registrations

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Apprenticeships Service

Provider Registrations

Licensed under the MIT license

crest Provider Registrations Web
Info A service to allow Providers to invite Employers into the Apprenticeship Service
Web https://localhost:5001/
https://localhost:5001/[UKPRN]/Registration/StartAccountSetup
https://localhost:5001/[UKPRN]/Registration/InvitedEmployers
Database das-[ENV]-preg-db

Developer Setup

Requirements

Setup

  • Clone this repository
  • Open Visual Studio as an administrator
Publish Database
  • Build the solution SFA.DAS.ProviderRegistrations.sln

  • Either use Visual Studio's Publish Database tool to publish the database project SFA.DAS.ProviderRegistrations.Database to name {{database name}} on {{local instance name}}

    or

  • Create a database manually named {{database name}} on {{local instance name}} and run each of the .sql scripts in the SFA.DAS.ProviderRegistrations.Database project.

Config
  • Get the das-provider-registrations configuration json file from das-employer-config; which is a non-public repository.
  • Create a Configuration table in your (Development) local Azure Storage account.
  • Add a row to the Configuration table with fields: PartitionKey: LOCAL, RowKey: SFA.DAS.ProviderRegistrations_1.0, Data: {{The contents of the local config json file}}.
  • Update Configuration SFA.DAS.ProviderRegistrations_1.0, "DatabaseConnectionString":"Data Source={{Local Instance Name}};Database={{Database Name}};Integrated Security = true;Trusted_Connection=True"

Run the solution

The default JSON configuration was created to work with dotnet run:

  • Navigate to src/SFA.DAS.ProviderRegistrations.Web/
  • run dotnet restore
  • run dotnet run
  • Open https://localhost:5001

Alternatively the project can be run within Visual Studio:

  • Set SFA.DAS.ProviderRegistrations.Web as the Startup Project
  • Select SFA.DAS.ProviderRegistrations.Web in the Run menu (not IIS Express)
  • Start the project

Getting Started

Provider Registrations does not have a default landing page. There are 2 routes into the solution that are linked via Provider Apprenticeship Service:

The UKPRN must be replaced to match the UKPRN of the provider used to login.

Please refer to the Misc Helpers for login information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 87.4%
  • HTML 11.0%
  • Other 1.6%