This repository was archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
m-mohr edited this page Dec 19, 2014
·
8 revisions
- 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.
- Install PostgreSQL 9.1 (or newer)
- Install PostGIS 2.0 (or newer)
- Install PHP 5.4 (or newer) with JSON, MCrypt and the other default PHP extensions.
- 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.
Note: We assume that you execute all the cmd line commands with the root directory of the web server being the working directory.
- Download the files from this repository and upload them to the root folder of your web server.
- Run
composer install(cmd line) to install all project dependencies. - Create a new PostgreSQL database with UTF8 encoding using the SQL command
CREATE DATABASE project ENCODING 'UTF8';or any PostgreSQL database administration tool. - Enable the PostGIS extension on your new database using the SQL command
CREATE EXTENSION postgis;. - Open
app/config/production/database.phpand change the database settings to fit your PostgreSQL installation. - Open
app/config/app.phpand change the settings (url, timezone, key, locale) according to your project environment. - Depending on your server OS you might need to set the
app/storagepermissions recursively to readable, writable and executable. On Linux you can executechmod -R 0777 app/storage(cmd line). Windows usually doesn't need any permissions to be set. - Run
php artisan migrate(cmd line) to create the needed database tables. - You are done! Visit your web server and My Meta Maps should be shown in your browser.