GithubHelp home page GithubHelp logo

pythonpp's Introduction

=============
留言板應用
======================

目的
=====

練習開發通過web瀏覽器提交的web 應用程序

工具版本
======================

:Python:        2.7.16
:pip:           19.1.1
:virtualenv:    16.5.0

安裝與啓動方法
=======================

從版本庫獲取代碼,然後在該目錄下搭建virtualenv 環境::

$ git clone https://git
$ cd guestbook
$ virtualenv .venv
$ source .venv/bin/activate
(.venv)$ pip install .
(.venv)$ guestbook
* Running on http://127.0.0.1:8000/

開發流程
===========

用於開發的安裝
------------------
1. 檢測
2. 按以下流程安裝
(.venv)$ pip install -e

變更依賴庫時
------------------

1. 更新``setup.py``的``install_requires``
2. 按以下流程更新環境::

    (.venv)$ virtualenv --clear .venv
    (.venv)$ pip install -e ./guestbook
    (.venv)$ pip freeze > requirements.txt

3. 將setup.py 和requirements.txt 提交到版本庫

pythonpp's People

Contributors

morro-wind avatar

Watchers

 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.