This component is part of Declick v2 platform.
Declick Server is built on Lumen platform. Therefore the following requirements should be met:
- PHP >= 5.6.4
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Database engine: MySQL, Postgres, SQLite or SQL Server
- Install composer
- At the application root, run
composer install
- Copy .env.example into .env
- Set your parameters to access database server:
- DB_CONNECTION the database category (mysql, postgres, sqlite, sqlsrv)
- DB_HOST the database server address
- DB_PORT the server port
- DB_DATABASE database name
- DB_USERNAME database user
- DB_PASSWORD password
- Run
php artisan migrate
to initialize database
- Give your webserver write access to folder "storage/app"
- Copy public/htaccess.example into public/.htaccess - set RewriteBase according to your server configuration
- Browse to server_adress/public/ and check that it returns Lumen version
Lumen (5.3.2) (Laravel Components 5.3.*)