Giter VIP home page Giter VIP logo

das-recruit's Introduction

Build badge

Employer Recruit (Public Beta)

This respository 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 http://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

das-recruit's People

Contributors

sachpatel avatar chrisjensenuk avatar sdholder avatar smneal avatar mwevill avatar mgwilliam avatar carlha avatar leewadhams avatar cloudplatformer avatar chelnak avatar nickgraham101 avatar ewannoble avatar mrpmorris avatar bjstone82 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.