This commit is contained in:
@@ -240,3 +240,10 @@ IMPORTANT NOTES:
|
||||
DOCKER / LINUX CHEAT SHEET
|
||||
Alpine linux enter container and run shell from docker:
|
||||
docker run -it [container_id] /bin/ash
|
||||
|
||||
|
||||
|
||||
<!-- <Target Name="CopyCustomContent" AfterTargets="AfterBuild">
|
||||
<Copy SourceFiles=".\resource\ay-report.js;" DestinationFolder="$(OutDir)\resource\rpt" />
|
||||
<!-- <Copy SourceFiles=".\resource\rpt\ay-report.js;.\resource\rpt\ay-hb.js;.\resource\rpt\ay-md.js" DestinationFolder="$(OutDir)\resource\rpt" /> -->
|
||||
</Target> -->
|
||||
@@ -45,8 +45,14 @@
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="CopyCustomContent" AfterTargets="AfterBuild">
|
||||
<Copy SourceFiles=".\resource\de.json;.\resource\reportjs\ay-report.js;.\resource\en.json;.\resource\es.json;.\resource\fr.json" DestinationFolder="$(OutDir)\resource" />
|
||||
<Copy SourceFiles=".\resource\reportjs\ay-report.js;.\resource\reportjs\ay-hb.js;.\resource\reportjs\ay-md.js" DestinationFolder="$(OutDir)\resource\reportjs" />
|
||||
<Copy SourceFiles=".\resource\de.json;.\resource\en.json;.\resource\es.json;.\resource\fr.json" DestinationFolder="$(OutDir)\resource" />
|
||||
<!-- <Copy SourceFiles=".\resource\rpt\ay-report.js;.\resource\rpt\ay-hb.js;.\resource\rpt\ay-md.js" DestinationFolder="$(OutDir)\resource\rpt" /> -->
|
||||
</Target>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include=".\resource\rpt\*.*">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -87,7 +87,7 @@ namespace AyaNova.Api.Controllers
|
||||
//var localIpAddress = httpConnectionFeature?.LocalIpAddress;
|
||||
|
||||
//todo: validate files are present somehow?
|
||||
var ReportJSFolderPath = Path.Combine(ServerBootConfig.AYANOVA_CONTENT_ROOT_PATH, "resource", "reportjs");
|
||||
var ReportJSFolderPath = Path.Combine(ServerBootConfig.AYANOVA_CONTENT_ROOT_PATH, "resource", "rpt");
|
||||
if (!Directory.Exists(ReportJSFolderPath))
|
||||
throw new System.Exception($"E1012: \"reportjs\" folder not found where expected: \"{ReportJSFolderPath}\", installation damaged?");
|
||||
|
||||
|
||||
@@ -1921,4 +1921,5 @@
|
||||
"ShutDownServer": "Shut down server",
|
||||
"AreYouSureShutDown": "Are you certain you want to shut down the server?",
|
||||
"ViewServerConfiguration": "View server configuration"
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user