Skip to main content

A WebUI for managing machine learning services of Rekcurd.

Project description

# Rekcurd-dashboard

[![Build Status](https://travis-ci.com/rekcurd/drucker-dashboard.svg?branch=master)](https://travis-ci.com/rekcurd/drucker-dashboard) [![PyPI version](https://badge.fury.io/py/rekcurd-dashboard.svg)](https://badge.fury.io/py/rekcurd-dashboard) [![codecov](https://codecov.io/gh/rekcurd/drucker-dashboard/branch/master/graph/badge.svg)](https://codecov.io/gh/rekcurd/drucker-dashboard “Non-generated packages only”) [![pypi supported versions](https://img.shields.io/pypi/pyversions/rekcurd-dashboard.svg)](https://pypi.python.org/pypi/rekcurd-dashboard)

Rekcurd dashboard is the project for managing ML model and deploying ML module. Any Rekcurd service is manageable. It can deploy the Rekcurd service to Kubernetes cluster.

## Parent Project https://github.com/rekcurd/drucker-parent

## Components - [Rekcurd](https://github.com/rekcurd/drucker): Project for serving ML module. - [Rekcurd-dashboard](https://github.com/rekcurd/drucker-dashboard) (here): Project for managing ML model and deploying ML module. - [Rekcurd-client](https://github.com/rekcurd/drucker-client): Project for integrating ML module.

## Environment - Python 3.6 - flask 1.0.x - [Node.js](https://nodejs.org/) 8.x - [yarn](https://yarnpkg.com/)

## Installation From source:

`bash $ git clone --recursive https://github.com/rekcurd/drucker-dashboard.git $ cd drucker-dashboard/frontend $ yarn install && yarn run build && cd .. $ pip install -e . `

From PyPi directly:

`bash $ pip install rekcurd-dashboard `

## How to boot ### Preparation You need to create [settings.yml](./drucker_dashboard/settings.yml).

### General users Launched on http://0.0.0.0:18080 as a default.

#### command line `bash $ rekcurdui --settings settings.yml db init $ rekcurdui --settings settings.yml db migrate $ rekcurdui --settings settings.yml server `

#### docker-compose (Deprecated) `bash # For dev $ docker-compose -f docker-compose/docker-compose.develop.yaml up # For prod $ docker-compose -f docker-compose/docker-compose.production.yaml up `

### For AWS users If you run this on AWS (such as EKS), you need to configure aws-cli setting. Follow the [official document](https://docs.aws.amazon.com/streams/latest/dev/kinesis-tutorial-cli-installation.html).

Rekcurd-dashboard docker container will mount the configuration files, so the IAM account used by configuration needs to have enough permissions to access to Kubernetes resources on AWS.

`bash # For dev $ docker-compose -f docker-compose/aws/docker-compose.develop.yaml up # For prod $ docker-compose -f docker-compose/aws/docker-compose.production.yaml up `

## How to use See [docs](./docs/README.md).

## Unittest ### Prerequisites `bash $ pip install -r requirements.txt $ pip install -r test-requirements.txt `

If you don’t have VirtualBox, run it. `bash $ sudo yum install -y kernel-devel kernel-headers make patch gcc $ sudo wget https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo -P /etc/yum.repos.d $ sudo yum install -y VirtualBox-5.2 `

### Test `bash $ sudo sh drucker_dashboard/e2e_test/startup.sh $ python -m unittest $ sudo sh drucker_dashboard/e2e_test/cleanup.sh `

## Kubernetes support Rekcurd can be run on Kubernetes. See [here](https://github.com/rekcurd/drucker-parent).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rekcurd_dashboard-0.4.4.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

rekcurd_dashboard-0.4.4-py2.py3-none-any.whl (312.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file rekcurd_dashboard-0.4.4.tar.gz.

File metadata

  • Download URL: rekcurd_dashboard-0.4.4.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for rekcurd_dashboard-0.4.4.tar.gz
Algorithm Hash digest
SHA256 19f4fab5de86c4bdcfcb44a1e0361b17bc9e5b0cacf2368ecb0efafdf153e2b3
MD5 b523fe9ce281a3e85832213d3610108a
BLAKE2b-256 a7cf544a4a880f4e5ff713665b9e0a5491c1d70caa287a2b88351699344be56e

See more details on using hashes here.

File details

Details for the file rekcurd_dashboard-0.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: rekcurd_dashboard-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 312.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for rekcurd_dashboard-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f4a29a08fbe5f03968715457e45ba99b8ceae72b5633cf93b7308cd192f59795
MD5 14efb208ccad644d1f63b06c1313d190
BLAKE2b-256 228e63e4e0661ffd867c0b0e2ab9812590f1715bbc7383bde9c42537acefbb48

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page