Skip to content

uk-gov-mirror/SkillsFundingAgency.das-employeraccounts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Digital Apprenticeships Service

Employer Apprenticeship Service

crest Employer Apprenticeship Service
Build Build Status
Web https://manage-apprenticeships.service.gov.uk/

Account Api

crest Account API
Client NuGet Badge

Developer Setup

Requirements

  1. Install Visual Studio with these workloads:
    • ASP.NET and web development
    • Azure development
    • .NET desktop development
  2. Install SQL Server Management Studio
  3. Install Azure Storage Explorer
  4. Administator Access

Setup

Install SSL certificates for HTTPS on IIS express
  • Open PowerShell as an administrator
  • Run src\DevInstall.ps1
Install Elastic Search
Open the solution
  • Open Visual Studio as an administrator
  • Open the solution
  • Set SFA.DAS.CloudService as the startup project
  • Running the solution will launch the site in your browser
Publish the databases

Repeat these steps for:

  1. SFA.DAS.EAS.Employer_Account.Database
  2. SFA.DAS.EAS.Employer_Financial.Database

Note: If you have an existing database you may need to drop it first, to avoid the script aborting after an error on truncating data.

Steps:

  • Right click on the db project in the solution explorer
  • Click on publish menu item
  • Click the edit button

Click the edit button

  • Select Local > ProjectsV13

Select Local > ProjectsV13

  • Add the project name in again as the Database name (i.e. SFA.DAS.EAS.Employer_Account.Database)
  • Click publish

Select Local > ProjectsV13

** TODO replace the publish with a post deploy step on building**

Add configuration to Azure Storage Emulator

The configuration is loaded from azure table storage.

  • Run the Azure Storage Emulator
  • Clone the das-employer-config repository
  • Clone the das-employer-config-updater repository
  • Run the das-employer-config-updater console application and follow the instructions to import the config from the das-employer-config directory

The two repos above are private. If the links appear to be dead make sure you are logged into github with an account that has access to these (i.e. that you are part of the Skills Funding Agency Team organization).

Using "Action": "*" can also be used to disable all actions on the controller.

See Also