Installation

Initiating A New Project

  1. To create a new project, run:
$ git clone git@gitlab.openjetlab.fr:backoffice/backoffice.git openjet
$ cd openjet
  1. Create a .env and settings.yml from the .env.dist and settings.yml.default files and adapt the settings.yml file:
$ cp .env.dist .env
$ cp app/config/settings.yml.default app/config/settings.yml

Warning

Don’t use root for MYSQL_USER and MYSQL_PASSWORD, root user is created automatically during database container build.

  1. Build and run containers:
$ bin/docker-compose-build
$ bin/docker-compose-up
  1. Install openjet environment:
$ docker exec openjet-application-container /bin/bash -c 'exec bin/console openjet:database:install --no-interaction'
$ openjet_context=docker bin/database-settings
$ docker exec openjet-application-container /bin/bash -c 'exec bin/console openjet:install --no-interaction'

You can now go to http://openjet in your web browser to see the airline.

Contributing

Tip

If you would like to contribute to Openjet - please go to the Contribution Guide