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

Update reference to index_dev.php on developer mode section #184

Open
RCheesley opened this issue Jan 31, 2024 · 3 comments
Open

Update reference to index_dev.php on developer mode section #184

RCheesley opened this issue Jan 31, 2024 · 3 comments

Comments

@RCheesley
Copy link
Member

There's an outdated reference here:

https://contribute.mautic.org/contributing-to-mautic/tester?_gl=1*1in3zx3*_ga*NDQ4MTgzODAxLjE3MDY2MjAyNjQ.*_ga_ZRB8436CFL*MTcwNjcwMTE5MS43LjEuMTcwNjcwMTI3NC4zOC4wLjA.#using-developer-mode

This should refer to the .env file now.

@RCheesley
Copy link
Member Author

https://devdocs.mautic.org/en/5.x/development-environment/environments.html I think maybe we should centralise the information here, to avoid duplication?

@amanreddy77
Copy link

hi @RCheesley can you explain me this issue in detail so that I will start working on this

@RCheesley
Copy link
Member Author

Hi @amanreddy77 sure thing!

  1. We no longer have an index_dev.php, it was removed and we now use the environment file. You can read more about that in the link I shared, https://devdocs.mautic.org/en/5.x/development-environment/environments.html.

  2. We need to remove the references to index_dev.php which are on the Community Handbook (see https://github.com/search?q=repo%3Amautic%2Fmautic-community-handbook%20%22index_dev.php%22&type=code) and instead, explain about the environment file

  3. I wonder if we actually remove the section about setting up Mautic locally in the tester page, and instead direct them to the developer docs where we have that info written already? Reason being, is that now we have to maintain two sources of truth which is quite error prone. What do you think? Here's how to set up locally with DDEV: https://devdocs.mautic.org/en/5.x/development-environment/how_to_install_with_ddev.html and here's how to set up locally with an existing AMP stack: https://devdocs.mautic.org/en/5.x/development-environment/setup.html.

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

No branches or pull requests

2 participants