Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes to provide correct settings for dev enviornment #24

Merged
merged 1 commit into from
Oct 19, 2024

Conversation

sarah-savage
Copy link
Member

Minor changes to provide correct settings for dev enviornment

* 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

* 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
@chuckadams chuckadams merged commit 2489901 into chuck/dev/laravel Oct 19, 2024
1 check failed
@chuckadams chuckadams deleted the sarah/dev/laravel branch October 19, 2024 02:23
chuckadams added a commit that referenced this pull request Oct 19, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants