SpaceHuddle Installation Package
- unzip InstallationPackage.zip
- follow the instructions in the readme.md file
- The developer documentation can be found at SpaceHuddleDeveloperDocu.pdf.
SpaceHuddle API
SpaceHuddle uses a REST API for exchanging data between the different parts of the application (backend, moderator, client). The API's code is located in the api directory.
Requirements
The SpaceHuddle API requires the following setup:
- a web server: tested with Apache 2.4,
- an SQL database instance: tested with MariaDB 10.4,
- PHP 8.2
Installation and running of the API
- Copy the api folder on your webserver.
- Import
api/resources/schema.sqlinto your database. This will create a database called "spacehuddle". Create a MySQL user with full permissions on the database. Enter your database credentials inapi/config/env.php(see item 7). - Create a public and private key and copy them into the directory
api/resources/keysopenssl genrsa -out private.pem 2048openssl rsa -in private.pem -outform PEM -pubout -out public.pem
- Adjust the properties of
api/config/env.php
SpaceHuddle frontend
Installation
- Copy the frontend folder to your domain root directory on the web server.
- Adjust the properties in the
frontend/assets/config.jsonfile. Create your individual MapTiler-key on https://www.maptiler.com/ and set it in config.json file if you want to maptiler as mapserver. - Adjust the properties in the
frontend/assets/imprint.jsonfile.