- PHP 8.2 and higher
- php-curl
- php-ldap
- php-bcmath
- php-gd
- php-dom
- php-ctype
- php-iconv
- Composer
- MySQL 5.7 server
- Nginx or Apache
- Redis
- Copy or clone this repository into a folder on your server
- Configure your webserver to serve from the
public/folder. See here for additional information. - Copy the global config file
cp .env .env.localand edit.env.local:- Change the line
APP_ENV=devtoAPP_ENV=prod
- Change the line
- Install composer dependencies and generate autoload files:
SYMFONY_ENV=prod composer install --no-dev -o - Install client side dependencies and build it:
yarn installandyarn build - Create database:
php bin/console doctrine:migrations:migrate - Init database:
php bin/console doctrine:fixtures:load --group=setup --append - Create superadmin account:
php bin/console limas:user:create --role super_admin admin admin@example.com admin- Optional protect it:
php bin/console limas:user:protect admin
- Optional protect it:
- Generate models.js asset:
php bin/console limas:extjs:models - Optional generate JWT keypair:
php bin/console lexik:jwt:generate-keypair - Optional (speeds up first load): Warmup cache:
php bin/console cache:warmup