Skip to content

Commit

Permalink
first release
Browse files Browse the repository at this point in the history
  • Loading branch information
NoneDay committed Dec 24, 2021
1 parent 1c90019 commit 2e2ce35
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 43 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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中存有(最后面可以找到),可以自行修改。

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions end/reportWeb/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "6.0.1",
"commands": [
"dotnet-ef"
]
}
}
}
2 changes: 1 addition & 1 deletion end/reportWeb/reportWeb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<ItemGroup>
<PackageReference Include="Antlr3.Runtime" Version="3.5.2-rc1" />
<PackageReference Include="CellReport" Version="1.0.0" />
<PackageReference Include="CellReport" Version="1.0.1" />
<PackageReference Include="CSRedisCore" Version="3.6.6" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation" Version="6.0.0" />
Expand Down
37 changes: 1 addition & 36 deletions front/public/func.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,7 @@ datasetName.cols()
datasetName.getDataSourceName( )
</function>
</catalogy>
<catalogy name="常用计算">
<catalogy name="数学运算">
<function name="+" ></function>
<function name="-" ></function>
<function name="*" ></function>
<function name="/" ></function>
<function name="&amp;" >取地址</function>
</catalogy>
<catalogy name="逻辑运算">
<function name=">" ></function>
<function name=">=" ></function>
<function name="&lt;" ></function>
<function name="&lt;=" ></function>
<function name="==" ></function>
<function name="&amp;&amp;" ></function>
<function name="||" ></function>

</catalogy>
</catalogy>
<catalogy name="单元格函数">
<catalogy name="单元格函数">
<function name="ifEmpty(,)" >
函数说明:
从前往后,参数如果不为null或空字符串,就返回当前参数值,如果都是为空,就返回""
Expand Down Expand Up @@ -293,20 +274,4 @@ formatDatetime('2007-01-01')

</function>
</catalogy>
<catalogy name="其他">

<function name="getCurrentSqlDataSourceName()" >
函数说明:
取当前运行的sql的数据源连接名称,只能在sql语句引用的内部参数使用,
在其他地方使用没有效果
语法:
getCurrentSqlDataSourceName( )
</function>
<function name="getAllDataSourceName()" >
函数说明:
取当前运行环境下的所有数据源连接名称列表
语法:getAllDataSourceName( )
</function>
</catalogy>

</functions>

0 comments on commit 2e2ce35

Please sign in to comment.