项目作者: satriahrh

项目描述 :
Basic image processing in python
高级语言: Python
项目地址: git://github.com/satriahrh/phocode.git
创建时间: 2018-02-07T15:58:59Z
项目社区:https://github.com/satriahrh/phocode

开源协议:GNU General Public License v3.0

下载


phocode

Requirements

  • python3.5.2
  • pip3
  • virtualenv installed using pip3 intall virtualenv

Set Up

  1. Change directory into the root directory.
    1. cd phocode
  • Create a Python virtual environment.

    1. python -m venv env # assuming python 3.5.2 is the default
  • Switch to Python virtual environment

    1. . env/bin/activate # for unix
  • Upgrade packaging tools.

    1. pip install --upgrade pip setuptools
  • Install required package from pip

    1. pip install -r requirements.txt
  • Install the project in editable mode with its testing requirements.

    1. pip install -e ".[testing]"

Running Project

  • Run project’s tests.

    1. pytest # optional
  • Run in development.

    1. pserve development.ini # available through port 6543
  • Run in production.

    1. pserve production.ini # available through port 6543