Code Monkey home page Code Monkey logo

migrant's Introduction

migrant 回归线

回归线:高新人才的 回乡创业、就业、生活平台;

假如你还在考虑回老家可以做什么,回家怎么才能发展的好,回归线,是你不错的选择。

相关链接

相关下载

项目相关技术

python、mongodb、redis、bootstrap, android ,ios, kpages, jquery, html5;

项目现已使用MIT开源协议,欢迎大家加入我们的开源项目,和我们一起完善这个项目;一起开发、一起学习、一起为社会做点事吧。

项目依赖

   软件:python, mongodb, redis ;
   python 包:kpages( easy_install kpages) 
   
   mongodb 启动指令为 mongod --dbpath you data path
   redis 启动指令为 redis-server 
   

使用mongodb dump 数据

mongorestore  -d migrant --directoryperdb dump/migrant
如果需要备份数据,请使用  mongodump -d migrant -o dump

Kpages

基于Tornado的开发包,提供地址路由、配置、测试、性能分析、数据库及内存连接上下文管理等,如果你想用Tornado提供一些高性能的服务接口,这会给你很大的帮助的。
详情请查看:https://github.com/comger/kpages

web 服务启动方式

python webserver.py  或 ./webserver.py
可配置参数
     config=CONFIG  set config for server
     port=PORT      set http port for server
     debug          Debug mode.
     ndebug         No Debug mode.

执行测试案例

    python tool.py --test test_label.LabelCase.test_update :test test_update method
    python tool.py --test test_label.LabelCase           :test methods in LabelCase class
    python tool.py --test test_label                    :test methods in test_label.py
    python tool.py --test all                          :test methods in app's __conf__.UTEST_DIR

执行nose测试,并且查看覆盖率

    easy_install nose coverage
    python nose_test.py
    当前目录下会生成cover目录,打开 index.html即可看到覆盖率

migrant's People

Contributors

comger avatar sarike avatar xinyu1993abc avatar

Watchers

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