Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

weddige/kcenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-CENTER API

Installation

sudo apt-get install python-virtualenev
sudo apt-get install python3

mkvirtualenv -p /usr/bin/python3 kcenter
workon kcenter

sudo apt-get build-dep python3-lxml
sudo apt-get build-dep python3-numpy python3-scipy python3-matplotlib ipython3 ipython3-notebook
sudo apt-get build-dep python3-pandas python3-nose

pip install -r requirements.txt

Run the Server

usage: kapi.py [-h] [--logging {DEBUG,INFO,WARNING,ERROR}] [-c] [-p PORT]

optional arguments:
  -h, --help            show this help message and exit
  --logging {DEBUG,INFO,WARNING,ERROR}
                        Set log level
  -c, --cython          Compile algorithms with cython
  -p PORT, --port PORT  Set port

The server does not daemonize itself but kapi.sh allows to run it in the background:

Usage: {start|stop|restart|status}

But first you have to adjust both PYTHON and KAPIDIR in line 3 and 4 according to your local setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published