Skip to content

3. Configuring Halifax

Ethan Watrall edited this page Feb 3, 2017 · 3 revisions

Once you've placed the Halifax template files on your server, you need to configure the template so that it connects to your mbira installation. Please note, you cannot do this step until you create a project in your mbira authoring plugin. The project doesn't have to have any content (exhibits, areas, locations, etc), it just needs to have been already created.

  1. Using your favorite FTP or SSH tool, navigate to /lib (located in the folder where you placed the template files) Open the config.php.dist file and enter your database username, your database name, your database password, your database host, your project ID, and your project image source URL. All of these can be found in the Device Settings section of your mbira authoring plugin.

  2. In the config.php.dist file, enter the site root (this is the URL that points to the web folder in which you placed your Halifax template files)

  3. Enter the project email in to the config.php.dist file

  4. If you have a preferred web map provider (Mapbox, Stamen, etc), enter the relevant information into the config.php.dist file. If you do not have a preferred web map provider, please follow the instructions in the config.php.dist file to use OpenStreetMap

  5. When you are finished editing the config.php.dist file, save it.

  6. Remove .dist from the config.php.dist file so that its name is just config.php

Make sure that your config.php file remains in the /lib directory.

Clone this wiki locally