You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.
Enrique García Navalón edited this page Jun 8, 2015
·
16 revisions
Production Set Up
This section covers how to set up the IdM for production, covering topics like email sending, reCAPTCHA support or how to serve static and media files. Some topics, for example https, are beyond the scope of this documentation and only some pointers to related documentation are provided as a starting point.
MySQL
If you have installed the IdM using the automated tools the back-end (Keystone) will be configured to use a SQLite database. This is NOT recommended for production, we strongly advise to switch to a production-ready SQL database. This guide covers how to configure MySQL but any other database compatible with SQLAlchemy would probably work too.
Install MySQL
´´´sudo apt-get install mysql-server´´´
Database connection
Edit keystone/etc/keystone/keystone.conf and change the [sql] section.
[sql]# The SQLAlchemy connection string used to connect to the databaseconnection = mysql://keystone:KEYSTONE_DBPASS@controller/keystone