Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 1.32 KB

File metadata and controls

31 lines (28 loc) · 1.32 KB

Dependencies

  • 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

  1. Copy or clone this repository into a folder on your server
  2. Configure your webserver to serve from the public/ folder. See here for additional information.
  3. Copy the global config file cp .env .env.local and edit .env.local:
    • Change the line APP_ENV=dev to APP_ENV=prod
  4. Install composer dependencies and generate autoload files: SYMFONY_ENV=prod composer install --no-dev -o
  5. Install client side dependencies and build it: yarn install and yarn build
  6. Create database: php bin/console doctrine:migrations:migrate
  7. Init database: php bin/console doctrine:fixtures:load --group=setup --append
  8. 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
  9. Generate models.js asset: php bin/console limas:extjs:models
  10. Optional generate JWT keypair: php bin/console lexik:jwt:generate-keypair
  11. Optional (speeds up first load): Warmup cache: php bin/console cache:warmup