Code Monkey home page Code Monkey logo

blog's Introduction

ee's blog

纸片君ee的博客|PAPEREE

使用方法

安装库

  • pip3 install flask
  • pip3 install gunicorn

别问为什么没有requirements.txtee懒(被打
等等……好像还有一些库没写进来……
总之试着运行,看看缺什么补什么(逃

开始运行

  • 更改/client中html文件的标题
  • 根据实际情况修改config.py
  • 输入gunicorn --config=config.py main:app

默认运行在127.0.0.1:1234,浏览器打开网址就能看到博客。

如何写文章

  • 使用你喜欢的编辑器,用Markdown或HTML编写.md文件,将文件放置notes文件夹。
  • 如果博客正在运行,打开你的网址就能看到这篇文章。

有个BUG特性,如果在文章拥有评论的情况下重命名notes中的文章,那么评论不会自动更新到新的文章。

解决方法

进入client/_,手动将评论数据重命名为新的文章名(对文件夹名是下划线(划掉

blog's People

Contributors

paperee avatar

Stargazers

osage avatar luxin avatar  avatar 0x24a avatar

Watchers

 avatar

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.