mirror of
https://gh.wpcy.net/https://github.com/aspirepress/AspireCloud.git
synced 2026-05-31 00:04:27 +08:00
* refactor: wipe out mezzio installation prior to installing Laravel * refactor: install laravel * fix: push attic'd composer.json that didn't make it into commit * Adding several improvements (#23) * Added improvements around Phinx and migrations * Created Franken as our main PHP source * Rewrote the Makefile to use the CLI and work properly * build: regenerate lockfile * fix(build): move migrations to require-dev so laravel doesnt choke on it * feat: add mailhog service * chore: tweak sample config * fix: port make targets around db and migrations * temp: add phinx migrations to attic * fix: fix make list target formatting * chore: port initial schema migration * chore: roll in remaining migrations * chore: publish cors config * temp: rm the rest of .ATTIC * Minor changes to provide correct settings for dev enviornment (#24) * Removed the .env file from the Docker configuration so its read locally and changes to it are immediately reflected. * Updated the DB name in the Docker configuration * fix: add correct DB environment vars to .env.example * fix: api.aspirepress.local -> api.aspirecloud.local in docker-compose.yml * feat: add generate-key target to Makefile * feat: add stub api routes file * Adding quality tools and fixing coding style * Added Pint for CS fixing * Added Larastan for code quality and set Level 6 with a baseline * Fixed minor style issues * Updating running checks to build the CLI container and then the Makefile with Pest * Fixing a style issue detected * Generating app key for tests Note that eventually we'll have to pass a host of config vars to effectively test the Laravel instance. That's TBD for later. * Add Catch All handler (#25) * fix: rm catchall route in api.php * style: fix style to make pint happy * Populating the .env file if it doesn't exist * fix: give phpstan proper args in check target * fix: phpstan qa issues --------- Co-authored-by: Chuck Adams <cja987@gmail.com> Co-authored-by: Matthew Zalewski <matthew@minion.co.nz>
15 lines
350 B
PHP
Executable file
15 lines
350 B
PHP
Executable file
#!/usr/bin/env php
|
|
<?php
|
|
|
|
use Symfony\Component\Console\Input\ArgvInput;
|
|
|
|
define('LARAVEL_START', microtime(true));
|
|
|
|
// Register the Composer autoloader...
|
|
require __DIR__.'/vendor/autoload.php';
|
|
|
|
// Bootstrap Laravel and handle the command...
|
|
$status = (require_once __DIR__.'/bootstrap/app.php')
|
|
->handleCommand(new ArgvInput);
|
|
|
|
exit($status);
|