GithubHelp home page GithubHelp logo

newsmeme's Introduction

newsememe
==========

2012.10.23
----------

    1. use mysql

    python manage.py createall

    2. 使用SqlAutocode,根据数据库已有表,产生符合Flask-SqlAlchemy要求的models的定义
    http://ryan-liu.iteye.com/blog/1530979
    python scripts/generate_models.py

    pip install SqlAutocode (0.7)

    3. 简单分页
    utils/pages.py
    http://ryan-liu.iteye.com/blog/1471819

2012.10.14
----------

    1. vagrant config
    config.vm.network :hostonly, "192.168.33.10"
    本地可通过http://192.168.33.10 访问

    2. flask
    python manage.py runserver -t 0.0.0.0 -p 5000
    本地可通过http://192.168.33.10:5000 访问

2012.10.13
----------

    1. virtualenv 在 ubuntu 下使用
    virtualenv --no-site-packages flask09
    source flask09/bin/activate
    ...
    deactivate

    2. create requirements
    pip freeze > stable-req.txt

2012.10.07
----------

    1. 增加debug tool
    https://github.com/mgood/flask-debugtoolbar
    pip install flask-debugtoolbar

2012.09.06
----------

  1. flask 0.9
  flask-script 0.3.3
  flask-mail 0.6.1

2012.08.24
----------

   1. create

--新建环境时使用--no-site-packages将不使用标准的site-packages:
virtualenv --no-site-packages flask09

pip2 install ipython
pip2 install Flask
cd newsmeme
python setup.py develop
python manage.py createall

   --flask mail in win7
   easy_install -N lamson chardet Flask-Mail

   2. 0.9下使用themes有问题,合并themes文件夹到templates


   --END

newsmeme's People

Contributors

yangjiandong avatar

Watchers

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