- Notifications
You must be signed in to change notification settings - Fork0
License
SkillsFundingAgency/das-recruit-qa-web
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository represents the Employer Recruit code base currently in beta.
In order to run this solution locally you will need the following:
- An employer account setup against the DAS test environment
- .NET Core SDK >= 2.1.4
- (VS Code Only)C# Extension
- Docker for X
- Optionally runAzure Cosmos DB emulator locally instead of MongoDB docker container (Windows Only)
Please useDeveloper Setup Confluence document to set up the following
- Cosmos DB - Database setup
- Employer Website
- Provider Website
- QA Website
- Jobs
The default development environment uses docker containers to host it's dependencies.
- Redis
- Elasticsearch
- Logstash
- MongoDb
- Azurite (Cross platform Azure Storage Emulator)
On first setup run the following command from/setup/containermongo/ to create the docker container images:
docker-compose build
To start the containers run:
docker-compose up -d
You can view the state of the running containers using:
docker ps -a
This creates the mongo database with the following admin credentials:
- User :user
- Password :pass
- The azure webjobs require a "real" azure storage account in order to run. Add a valid connection string inappSetting.Development.json for the following keys:
{ "ConnectionStrings": { "WebJobsDashboard": "<replace with connection string to a azure storage account (not local storage emulator)>", "WebJobsStorage": "<replace with connection string to a azure storage account (not local storage emulator)>" }}
- Start theRecruit Qa:
MacOS
ASPNETCORE_ENVIRONMENT=Development dotnet run
Windows cmd
set ASPNETCORE_ENVIRONMENT=Developmentdotnet run
- Open second command prompt and change directory to/src/Recruit.Qa.Web/
- Start theWebsite:
MacOS
ASPNETCORE_ENVIRONMENT=Development dotnet run
Windows cmd
set ASPNETCORE_ENVIRONMENT=Developmentdotnet run
- Browse to
https://localhost:5025/dashboard
Application logs are logged toElasticsearch and can be viewed usingKibana athttp://localhost:5601
- Open the solution/src/Recruit.Qa.sln
- If using MongoDb container, connect to Recruit database in a terminal using
mongo recruit --authenticationDatabase admin -u user -p pass
- If using Azure Cosmos Emulator, connect to Recruit database in a terminal using
mongo --authenticationDatabase admin --host localhost --port 10255 -u localhost -p C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw== --ssl
Licensed under theMIT license
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors4
Uh oh!
There was an error while loading.Please reload this page.