Installation¶
Initiating A New Project¶
- To create a new project, run:
$ git clone git@gitlab.openjetlab.fr:backoffice/backoffice.git openjet
$ cd openjet
- Create a
.envandsettings.ymlfrom the.env.distandsettings.yml.defaultfiles and adapt thesettings.ymlfile:
$ 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.
- Build and run containers:
$ bin/docker-compose-build
$ bin/docker-compose-up
- 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