Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iawia002/diana
Diana is my own blog built with love 🌙
https://github.com/iawia002/diana
blog flask javascript python python3 react typescript
Last synced: 9 days ago
JSON representation
Diana is my own blog built with love 🌙
- Host: GitHub
- URL: https://github.com/iawia002/diana
- Owner: iawia002
- Created: 2017-02-01T01:59:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T22:39:55.000Z (over 2 years ago)
- Last Synced: 2024-04-14T20:05:50.193Z (7 months ago)
- Topics: blog, flask, javascript, python, python3, react, typescript
- Language: Python
- Homepage: https://ia.jifangcheng.com
- Size: 17.9 MB
- Stars: 23
- Watchers: 4
- Forks: 1
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Diana
[![](docs/images/index.jpg)](https://ia.jifangcheng.com)
[![Build Status](https://travis-ci.org/iawia002/Diana.svg?branch=master)](https://travis-ci.org/iawia002/Diana)
[![codecov](https://codecov.io/gh/iawia002/Diana/branch/master/graph/badge.svg)](https://codecov.io/gh/iawia002/Diana)## 关键特性
* 使用 __Markdown__ 写作
* 用 __标签__ 来分类## 架构
### 前端
* TypeScript
* React
* Sass + CSS Modules### 后端
* Web 框架:__Flask__
* 数据库:__PostgreSQL__
* ORM:__SQLAlchemy__## 快速开始
### 前端前端目录:`moon`
* `yarn install` 安装依赖
* `yarn start` 启动开发环境([http://localhost:3000](http://localhost:3000))
* `yarn build` 构建生产环境### 后端
使用 Docker 🐳:
* `fab migrate` 数据库迁移
* `fab init` 初始化一个用户(admin/admin) 和一篇文章
* `fab dev` 启动服务器开发环境([http://0.0.0.0:8004](http://0.0.0.0:8004))