Skip to content
A minimalist blog system built with dotnet core 2.2 and angular 7.
C# TypeScript CSS HTML JavaScript Shell Other
Branch: master
Clone or download
Latest commit ab578e2 Aug 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Ancorazor.API.Common
Ancorazor.API.Tests rename Jun 17, 2019
Ancorazor.API update routing Aug 6, 2019
Ancorazor.Entity multiple categories yaml syntax supported and some bug fix Jun 24, 2019
Ancorazor.Messages multiple categories yaml syntax supported and some bug fix Jun 24, 2019
Ancorazor.Service add article in-memory cache Jun 24, 2019
Ancorazor.Tests.Common last issue Jun 21, 2019
Siegrain.Common ... Jun 23, 2019
build restore exposed ports Aug 1, 2019
.dockerignore setup docker May 21, 2019
.gitattributes restructure for deploy Mar 14, 2019
.gitignore rename Jun 17, 2019
Ancorazor.sln ... Jun 24, 2019
Dockerfile update dockerfile in order to use docker copy cache Jul 3, 2019
LICENSE Add anti-996 license Jun 19, 2019
README-EN.md .. Jun 28, 2019
README.md .. Jun 28, 2019
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines Jun 18, 2019

README.md

Ancorazor

Codacy grade Azure DevOps builds LICENSE

English Readme


Ancorazor 是一个基于 .NET Core 2.2 和 Angular 7 的极简博客系统。

Demo

项目依然在开发中,而且还没有做后台,不过前台也有基本的管理功能,处于勉强能用的阶段。

演示

GIF 3M

ancorazor gif demostration

转场动画模块是我花了较大精力基于animate.css写的,因为觉得Angular animation不太好用,2333。

启动项目

开发环境

确保您的环境已经有这些东西了:

  1. .NET Core 2.2 SDK
  2. Nodejs 10+
  3. SQL Server(有 docker-compose 可以不用这个)

常规启动

  1. git clone https://github.com/siegrainwong/ancorazor.git
  2. 替换ancorazor/Ancorazor.API/appsettings.Development.json中的连接字符串(可选,取决于你本地的 SQL Server 配置,一般不需要替换)
  3. cd path-to-ancorazor/Ancorazor.API 进入目录后执行 dotnet watch run
  4. 打开 localhost:8088, 默认用户名密码 admin/123456.

docker-compose 启动

cd path-to-ancorazor/build

windows

把在dev.ps1里面这样的F:\Projects\ancorazor\路径字符串替换成你的,然后运行这个脚本

linux

运行 path-to-ancorazor/build/dev.sh

docker-compose 会将 sql server、skywalking、nginx 和 ancorazor 一并启动。

  • Skywalking: localhost:8080, 默认用户名密码 is admin/admin.
  • Ancorazor: localhost:8088, 默认用户名密码 is admin/123456.

发布(CI/CD)

我会在之后写一篇教程如何在Azure DevOps上进行 CI/CD,现在你也可以参考 azure-pipelines.yml

项目结构

TODO

To-do

  • Comment
  • Management page
  • Search
  • Categories & tags page
  • Tests

或参考 project.

致谢

模板: startbootstrap-clean-blog

Licence

Anti-996 & MIT

FOSSA Status

You can’t perform that action at this time.