4.2.2. Installing the codebase

4.2.2. Composer

composer create-projectapiopenstudio_admin:1.0.0-alpha

4.2.2. Git

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

or

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

4.2.2.1. Settings

cp example.settings.yml settings.yml

Update the settings in .env. See settings

4.2.2.2. Server

  1. Install Composer.
  2. Install npm.
  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. Run Gulp:
    1. gulp
  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