From 2e2ce35c9295ed2b1028d336b50e5e4c644d10d9 Mon Sep 17 00:00:00 2001 From: Noneday <59395983@qq.com> Date: Fri, 24 Dec 2021 15:43:39 +0800 Subject: [PATCH] first release --- README.md | 6 ++-- docs/zh/guide/getting-started.md | 6 ++-- end/reportWeb/.config/dotnet-tools.json | 12 ++++++++ end/reportWeb/reportWeb.csproj | 2 +- front/public/func.xml | 37 +------------------------ 5 files changed, 20 insertions(+), 43 deletions(-) create mode 100644 end/reportWeb/.config/dotnet-tools.json diff --git a/README.md b/README.md index 1e7badd..cd526f8 100644 --- a/README.md +++ b/README.md @@ -37,11 +37,11 @@ CellReport 诞生的初衷是为了解决日常快速制作统计报表的需要 ## 需要安装的软件 1. 下载安装NETCORE6 SDK 或 RUNTIME.[Download .NET (Linux, macOS, and Windows)](https://dotnet.microsoft.com/download) 2. 下载安装redis(可选)。最好安装 [https://github.com/MicrosoftArchive/redis/releases](https://github.com/MicrosoftArchive/redis/releases) -3. 下载解压传输链接:https://cowtransfer.com/s/a21509df346642 或 打开【奶牛快传】cowtransfer.com 使用传输口令:00qhci 提取; +3. 下载release。 ## 运行和配置 -假设解压安装到了d:\cellReport。(单独更新前端时,将前端文件解压到d:\cellReport\wwwroot下)。如果使用nginx反向代理,可以单独存放前端文件。 -1. 在安装目录下,执行 reportWeb.exe -p 5000 +假设解压安装到了d:\cellReport。 +1. 在CellReportWeb目录下,执行 reportWeb.exe 2. 浏览器输入地址: http://127.0.0.1:5000 3. 缺省管理员用户在appsetting.json中存有(最后面可以找到),可以自行修改。 diff --git a/docs/zh/guide/getting-started.md b/docs/zh/guide/getting-started.md index 75df4da..ca24ad2 100644 --- a/docs/zh/guide/getting-started.md +++ b/docs/zh/guide/getting-started.md @@ -21,10 +21,10 @@ 运行: ```bash cd cellReport -//启动 -reportWeb.exe --urls "http://*:5000" --webroot "D:\cellReport\wwwroot" +//windows下启动 dotnet reportWeb\reportWeb.dll --urls http://*:5000 --ContentRoot . --WebRoot ..\wwwroot +start.bat //或 linux 下以这种方式启动 -dotnet reportWeb.dll --urls "http://*:5000" --webroot "D:\cellReport\wwwroot" +dotnet reportWeb/reportWeb.dll --urls http://*:5000 --ContentRoot . --WebRoot ../wwwroot // 指定启动端口为8090 和 静态文件存放路径 ``` 如果不指定urls参数,将运行在端口5000 ,如果不指定webroot ,缺省就是当前目录的wwwroot diff --git a/end/reportWeb/.config/dotnet-tools.json b/end/reportWeb/.config/dotnet-tools.json new file mode 100644 index 0000000..0d1da73 --- /dev/null +++ b/end/reportWeb/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "6.0.1", + "commands": [ + "dotnet-ef" + ] + } + } +} \ No newline at end of file diff --git a/end/reportWeb/reportWeb.csproj b/end/reportWeb/reportWeb.csproj index aad64bd..ac59c9c 100644 --- a/end/reportWeb/reportWeb.csproj +++ b/end/reportWeb/reportWeb.csproj @@ -12,7 +12,7 @@ - + diff --git a/front/public/func.xml b/front/public/func.xml index 55dffd5..5d57a7b 100644 --- a/front/public/func.xml +++ b/front/public/func.xml @@ -79,26 +79,7 @@ datasetName.cols() datasetName.getDataSourceName( ) - - - - - - - 取地址 - - - - - - - - - - - - - + 函数说明: 从前往后,参数如果不为null或空字符串,就返回当前参数值,如果都是为空,就返回"" @@ -293,20 +274,4 @@ formatDatetime('2007-01-01') - - - - 函数说明: - 取当前运行的sql的数据源连接名称,只能在sql语句引用的内部参数使用, - 在其他地方使用没有效果 - 语法: - getCurrentSqlDataSourceName( ) - - - 函数说明: - 取当前运行环境下的所有数据源连接名称列表 - 语法:getAllDataSourceName( ) - - -