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
Matthias Mohr edited this page Feb 1, 2015
·
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 currently 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.
Note: We assume that you execute all the cmd line commands with the root directory of the web server (where your web documents are stored) 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. -
Optional: Open
app/config/packages/socialism/laravel-opauth/config.phpand change the credentials for the OAuth APIs of the supported authentication providers, like Facebook or Google. You can choose which providers you want to enable by setting the credentials or not. - 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.