GithubHelp home page GithubHelp logo

derek-zl / blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ifwenvlook/blog

0.0 2.0 0.0 5.59 MB

A simple blog system based on Flask

Home Page: http://www.vlblog.tech/

License: MIT License

Python 31.49% CSS 0.54% JavaScript 26.36% HTML 40.97% Shell 0.65%

blog's Introduction

Blog

Preview: http://www.vlblog.tech/(网站已到期,Sorry)

A simple blog system based on Flask

Development

Prerequests:

  1. python2.7/python3.4
  2. mysql5.5+
  3. Reference: Flask Web开发-基于Python的Web应用开发实战 http://www.ituring.com.cn/book/1449
Setup flask development:

$ git clone https://github.com/ifwenvlook/blog.git

$ cd /blog

$ pip install -r requirements/dev.txt

Quick Start Blog -----------Run Mysql、redit and celery: $service redis start

$service mysqld start

$celery worker -A celery_worker.celery -l INFO &

Create testdata and upgrade to mysql:

$ python manage.py db init

$ python manage.py db migrate

$ python manage.py db upgrade

$ python manage.py datainit

$ python manage.py runserver

Visit: http://127.0.0.1:5000/

blog's People

Contributors

ifwenvlook avatar

Watchers

James Cloos avatar  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.