CPI Ordering System (the old version)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
|
==============================================
|
|
|
|
Ordr2 - CPI Ordering System, php2python branch
|
|
|
|
==============================================
|
|
|
|
|
|
|
|
This is a rewrite in Python of the original Ordr system by Sebastian Sebald
|
|
|
|
that can still be found here: https://github.com/sebald/Ordr
|
|
|
|
|
|
|
|
|
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Installation consists of three steps:
|
|
|
|
|
|
|
|
1. clone the project and checkout the php2python branch
|
|
|
|
> git clone https://git.cpi.imtek.uni-freiburg.de/holgi/ordr2
|
|
|
|
> cd ordr2
|
|
|
|
> git checkout php2pyton
|
|
|
|
|
|
|
|
2. create a python virtual environment and activate it
|
|
|
|
> python3 -m venv ordr-venv
|
|
|
|
> source ordr-venv/bin/activate
|
|
|
|
|
|
|
|
3. install the cloned package and deactivate the environment
|
|
|
|
(ordr-venv) > pip install .
|
|
|
|
> deactivate
|
|
|
|
|
|
|
|
|
|
|
|
Updating
|
|
|
|
--------
|
|
|
|
|
|
|
|
updating consists of three steps:
|
|
|
|
|
|
|
|
1. Update the source code
|
|
|
|
> cd ordr2
|
|
|
|
> git pull origin php2python
|
|
|
|
|
|
|
|
2. activate the python virtual environment
|
|
|
|
> source ordr-venv/bin/activate
|
|
|
|
|
|
|
|
3. install the new version and deactivate the environment
|
|
|
|
(ordr-venv) > pip install .
|
|
|
|
> deactivate
|
|
|
|
|