Code Monkey home page Code Monkey logo

siegrainwong / ancorazor Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 3.0 39.04 MB

A minimalist blog system built with dotnet core 2.2 and angular 7.

Home Page: https://siegrain.wang

License: Other

C# 59.44% HTML 3.52% JavaScript 0.56% TypeScript 30.68% CSS 5.34% Dockerfile 0.15% Shell 0.19% PowerShell 0.11%
netcore server-side-rendering angular7 blog-engine transition-animation dotnetcore ancorazor docker docker-compose spa ssr skywalking azure-devops entityframeworkcore entityframeworkcore-codefirst

ancorazor's Introduction

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

ancorazor's People

Contributors

codacy-badger avatar dependabot[bot] avatar fossabot avatar mstk0119 avatar siegrainwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ancorazor's Issues

ancorazor关于https的问题

博客部署到服务器后,登陆时js报错,提示需要https才能支持登陆,无https情况下,怎么解决登陆的问题呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.