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

Inject melis configuration with .env file insted of virtualhost #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

srennou
Copy link

@srennou srennou commented Aug 19, 2024

This will make it possible for melis to get the environment variables (MELIS PLATFORM, MELIS MODULE) from .env file instead of the virtual host just by adding them in the .env file (eventually for dev environment) then run the platform via herd or "php -S"

@srennou srennou requested a review from sircxes August 19, 2024 16:07
@srennou srennou self-assigned this Aug 19, 2024
Copy link

@srennou
Copy link
Author

srennou commented Aug 27, 2024

the commit 4dcb50c refere to a new feature where the dev can run 4 types of commnades

  • php melis delete-melis-cache : to delete the cache , the dev can use a tag like "php melis delete-melis-cache --type=cms" to delete a specific type of cache
  • php make:controller where the user can specify the name of the controller and the module where it shoud be added
  • php make:service where the user can specify the name of the service and the module where it shoud be added
  • php make:model where the user can specify the name of the model, the name of it's table and the name of the primarykey and the module where it shoud be added

the commandes make:.. generate the file and add its alias in the module.config.php of the module selected

@srennou srennou assigned sircxes and unassigned srennou Aug 27, 2024
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