Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Installation

m-mohr edited this page Dec 19, 2014 · 8 revisions

Prepare server

  1. Install Apache HTTPD 2.2 (or newer) with mod_rewrite extension. You might also use Nginx as your web server. For instruction on how to set up Nginx check the Laravel installation instructions.
  2. Install PostgreSQL 9.1 (or newer)
  3. Install PostGIS 2.0 (or newer)
  4. Install PHP 5.4 (or newer) with JSON, MCrypt and the other default PHP extensions.
  5. Install Composer

Note: There is currenrly no interface for administrative tasks to manage My Meta Maps. Therefore you might want to install a database management tool like phpPgAdmin to manage your My Meta Maps content. Check the documentation about the database structure to get to know how to manage your data.

Set up My Meta Maps

Note: We assume that you execute all the cmd line commands with the root directory of the web server being the working directory.

  1. Download the files from this repository and upload them to the root folder of your web server.
  2. Run composer install (cmd line) to install all project dependencies.
  3. Create a new PostgreSQL database with UTF8 encoding using the SQL command CREATE DATABASE project ENCODING 'UTF8'; or any PostgreSQL database administration tool.
  4. Enable the PostGIS extension on your new database using the SQL command CREATE EXTENSION postgis;.
  5. Open app/config/production/database.php and change the database settings to fit your PostgreSQL installation.
  6. Open app/config/app.php and change the settings (url, timezone, key, locale) according to your project environment.
  7. Depending on your server OS you might need to set the app/storage permissions recursively to readable, writable and executable. On Linux you can execute chmod -R 0777 app/storage (cmd line). Windows usually doesn't need any permissions to be set.
  8. Run php artisan migrate (cmd line) to create the needed database tables.
  9. You are done! Visit your web server and My Meta Maps should be shown in your browser.

Clone this wiki locally