This was originally going to be a complete suite for a community I was working on. I have since stopped working on that community, and it seems a waste to have this repo sit private. This project is running a custom PHP stack based on Laravel with a themed version of Fomantic UI for the front end. Feel free to learn from it or something.
- A PHP 7.4 server.
- Composer, the PHP package manager
- An SQL database
- A Redis server. PHP extensions may be required
- NodeJS & NPM.
- Rename and configure config.php.
- Run
composer install
. - Create a
cache
folder in the root directory, permissions may need to be changed. - Rename
sample.config.php
toconfig.php
and configure it. - Run
php vendor/bin/phinx migrate
in the root directory. - Run
php vendor/bin/phinx seed:run
in the root directory. - Run
npm install -g gulp
. - Run
npm install
. - Run
cd node_modules/fomantic-ui
. - Run
npx gulp build
. - Start up the Redis & SQL server.
- Profit?
vendor/bin/phinx create TestMigration
vendor/bin/phinx migrate
cd node_modules\fomantic-ui
npx gulp build
[Likely redundant issue] Fix: Put extension=imagick.so
in your php.ini file. (https://stackoverflow.com/questions/46824621/imagemagick-module-not-available-with-this-php-installation-on-laravel-5-4-with)
Fix: sudo apt-get install php-imagick
Fix: OpenSSL needs to be enabled in php.ini. Likely multiple packages need enabling