3 Installation Publish
ansonzhang edited this page 2019-09-27 15:15:24 +08:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1、首先下载下来目前主分支是netcore 2.2 ,下载指定SDKF6 编译,是否成功,然后 F5 运行,是否正常加载 localhost:8081。

2、生成自己的数据库过程省略看这个Wiki 快速运行

3、打包发布可以参考博客园文章 多环境部署

4、如果部署失败这里有几个注意点

  • 缺少 Repository.dll 和 Service.dll ,手动拷贝,或者将这两层的输出路径指定到 api 层然后再把dll文件右键属性始终复制
  • 缺少 blog.core.xml 和 blog.core.model.xml 的swagger文档自行找到手动拷贝或者始终复制
  • 没有安装指定版本的 Host 托管,所以找不到对应的 V2 模块;
  • 没有安装指定的 Runtime ,所以运行不起来。