Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

Getting Started ottertune

Bohan Zhang edited this page May 27, 2018 · 5 revisions

Create the database

In OtterTune server side, it needs a database to store all the website data. You may want to create a database in MySQL if it does not already exist.

mysqladmin create -u <username> -p ottertune

It creates a database called ottertune in MySQL. After creating the database, you need to update the database information in the Django settings including database name, username, and password.

Update the Django settings

Copy the credentials template in the settings directory:

cp website/settings/credentials_TEMPLATE.py website/settings/credentials.py

Edit credentials.py, update the secret key, MySQL database information and set DEBUG flag.

Clone this wiki locally