Giter VIP home page Giter VIP logo

website's Introduction

Website

OLTP-Bench Website is an intermediate between the client's database and OtterTune (DBMS Auto-tuning system)

Dependencies

  • Python +2.7
  • Tensorflow
  • Django == 1.9 (currently does not support Django 1.10)
  • django-debug-toolbar +1.5
  • celery +3.1.23
  • django-celery +3.1.17
  • rabbitmq-server
  • python packages: python-mysqldb, sklearn, poster, numpy

Quick Start

###1. Install Dependencies sudo apt-get install python-pip python-dev python-sklearn python-mysqldb rabbitmq-server sudo pip install django==1.9 numpy poster celery django-celery django-debug-toolbar ###2. Revise the setting.py file.

Set the BasePath of your website (line 8)

Set your database access (line 54) . (Name, User, Password ...)

###3. Migrate the models into the database

python manage.py  makemigrations website
python manage.py  migrate

###4.Preload the parameters python manage.py loaddata ./preload/*

###5.Run the rabbitmq and celery worker rabbitmq-server & python manage.py celery worker --loglevel=info ###6. Run the website server python manage.py runserver 0.0.0.0:8000

website's People

Contributors

lazyplus avatar apavlo avatar dedcode avatar sid1607 avatar

Stargazers

kinghow avatar

Watchers

James Cloos avatar  avatar kinghow 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.