Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.49 KB

BUILDS.md

File metadata and controls

54 lines (34 loc) · 1.49 KB

Building Eppie Console

Prerequisites

Build

To build the Eppie.CLI project, run the following command in the project root directory:

dotnet build ./src/Eppie.CLI/

How to build with forked submodules

To build the project with your own forked submodules, you have to add the following option to the .gitconfig file:

  • When using the SSH protocol
# .gitconfig

[url "git@github.com:<USER-NAME>/<REPOSITORY-NAME>.git"]
    insteadOf = https://github.com/Eppie-io/<REPOSITORY-NAME>.git
  • When using HTTPS protocol
# .gitconfig

[url "https://github.com/<USER-NAME>/<REPOSITORY-NAME>.git"]
    insteadOf = https://github.com/Eppie-io/<REPOSITORY-NAME>.git

Launch

To launch Eppie Console application, you can run the following command:

dotnet run --project ./src/Eppie.CLI/Eppie.CLI/Eppie.CLI.csproj

Environment

To change the default environment configuration to some custom configuration, run the command with the arguments --ENVIRONMENT=<environment-name>:

dotnet run --project ./src/Eppie.CLI/Eppie.CLI/Eppie.CLI.csproj -- --ENVIRONMENT=Development
  • The default environment is Production. The location of the configuration file is .\src\Eppie.CLI\Eppie.CLI\appsettings.json.
  • The Development environment configuration file location: .\src\Eppie.CLI\Eppie.CLI\appsettings.Development.json. This file overrides the default configuration.