Skip to content

chrisjensenuk/das-recruit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build badge

Employer Recruit (Public Beta)

This repository represents the Employer Recruit code base currently in beta.

Developer setup

Requirements

In order to run this solution locally you will need the following:

Environment Setup

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/containers/ 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

Running

  • Open command prompt and change directory to /src/Jobs/Recruit.Vacancies.Jobs/
  • The azure webjobs require a "real" azure storage account in order to run. Add a valid connection string in appSetting.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 the Webjobs:

MacOS

ASPNETCORE_ENVIRONMENT=Development dotnet run

Windows cmd

set ASPNETCORE_ENVIRONMENT=Development
dotnet run
  • Open second command prompt and change directory to /src/Employer/Employer.Web/
  • Start the Website:

MacOS

ASPNETCORE_ENVIRONMENT=Development dotnet run

Windows cmd

set ASPNETCORE_ENVIRONMENT=Development
dotnet run
  • Browse to https://localhost:5020/accounts/{employerAccountId}

Application logs

Application logs are logged to Elasticsearch and can be viewed using Kibana at http://localhost:5601

Development

Website

  • Open the solution /src/Employer/Employer.sln

Webjobs

  • Open the solution /src/Jobs/Jobs.sln

Database

  • If using MongoDb container, connect to Recruit database in a terminal using mongo recruit --authenticationDatabase admin -u dbadmin -p changeme
  • 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

License

Licensed under the MIT license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 60.8%
  • HTML 34.1%
  • JavaScript 2.7%
  • CSS 1.9%
  • PowerShell 0.4%
  • Shell 0.1%