4.1.2. Installing the codebase

4.1.2. Composer

composer create-project apiopenstudio/apiopenstudio:1.0.0-alpha

4.1.2. Git

git clone git@gitlab.com:apiopenstudio/apiopenstudio.git

or

git clone git@github.com:naala89/apiopenstudio.git

4.1.2.1. Settings

cp example.settings.yml settings.yml

Update the settings in .env. See settings

4.1.2.2. Server

  1. Install Composer
  2. The following PHP extensions are required:
    1. php-curl
    2. php-mbstring
    3. php-dom
    4. php-zip
  3. Set the file permissions:
    1. cd /path/to/apiopenstudio
    2. chown -R www-data:<my_group> ./*
  4. Run composer install in the docroot:
    1. composer install
  5. Set up the database.
    1. ./includes/scripts/install.php
  6. Update php.ini (if using non-apache server, see Hardening your HTTP response headers):
    1. expose_php = Off
  7. Update httpd.conf
    1. ServerSignature Off
    2. ServerTokens Prod