- Install .Net 5.0 SDK.
- Download source code and open in Visual Studio 2019 (16.2+).
- Set
HackSystem.WebHost
andHackSystem.WebAPI
as startup projects. - Press F5 to run.
- Navigate to https://localhost:2473
- Enjoy it.
- Edit
hosting.json
file ofHackSystem.WebHost
andHackSystem.WebAPI
projects to config the port to listen. - Edit
wwwroot/appsettings.json
file ofHackSystem.Web
so thatAPIConfiguration.APIURL
equalsurls
ofHackSystem.WebHost
to config the address of Web API. - Edit
JwtConfiguration
section ofHackSystem.WebAPI
project'sappsettings.json
, it is Important for security! - Publish
HackSystem.WebHost
andHackSystem.WebAPI
projects.HackSystem.WebHost
is just a fake host of core projectHackSystem.Web
.
- Navigate to Hack System:
- Open browser and navigate to the address which you just configured for
HackSystem.WebHost
. - Or you can use the
HackSystem.Host
project to visit Hack System.- Before you launch
HackSystem.Host
, editHostConfigs.json
file so thatRemoteURL
equals the address which you just configured forHackSystem.WebHost
. - Just run
HackSystem.Host.exe
.
- Before you launch
- Open browser and navigate to the address which you just configured for
- Enjoy it.