Skip to content

Latest commit

 

History

History
executable file
·
44 lines (37 loc) · 1.36 KB

configuration.md

File metadata and controls

executable file
·
44 lines (37 loc) · 1.36 KB

Configuration

In the root folder you'll find a conf folder that contains the configurations files need for:

  • settings.cfg: application configuration
  • TechRequest_apache.conf
  • TechRequest_apache-secure.conf
  • mysql.sql
  • mysql_data.sql

settings.cfg

This file contains the configuration for the application like:

  • url
  • path
  • Spark account
  • MySQL access
  • upload and download folders
  • global constantes

TechRequest_apache.conf & TechRequest_apache-secure.conf

These files are provided for Apache WSGI integration for unsecure and secure mode. Thanks to remember to add your certificates in secure part.... ;) On my side I used symbolic link in the apache conf folder... easy to maintain and switch ;)

mysql.sql & mysql_data.sql

Two files to split structure and data. As you understand structure is in mysql.sql file when data are in the second. To initialize your environement thanks to remember to adapt at least one admin user in the data file before injection.

Spark app

Create a Cisco Spark app under developper web portal of Cisco Spark In your app, add the following 'redirect url'

  • http://[host]/TechRequest/
  • http://[host]/TechRequest/sparkauth
  • http://[host]/TechRequest/room
  • http://[host]/TechRequest/message

Scopes:

  • spark:rooms_read
  • spark:rooms_write
  • spark:membership_read
  • spark:membership_write
  • spark:messages_read
  • spark:messages_write