Code Monkey home page Code Monkey logo

flasky_blog's Introduction

#Python +Flask搭建blog

##有几个坑,值得注意一下

mail配置的时候 格式

export FLASKY_ADMIN='email_address'

##第九章,99页有个role_id要自己手动加

##部署到heroku上的坑 ###一开始create的时候,书上的命令不管用了 heroku create appname --buildpack heroku/python

配置数据库:

书上的命令不适用了,应该是Heroku升级了。 创建数据库

heroku addons:create heroku-postgresql:hobby-dev ###头像gravatar替换成 cn.gravatar.com/avatar,在app/models.py

##参考资料 http://cocode.cc/t/flask-heroku/4253

http://cocode.cc/t/flasky-heroku/6589

http://cocode.cc/t/flask-heroku/5949

flasky_blog's People

Contributors

flaski 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.