I am working on a PHP webapp. I have to publish it on a distributed version control system (git) but I am not sure wether if to publish the root directory of the project or the public_html folder.
The root folder contains composer-related files and configuration files.
Also, what are the best practices to include the config files, which have to be omitted/obscured from the version control?
The project is structured as follows:
+ root
|_ (...)
|_ config.php
|_ composer.json
|_ composer.lock
|_ public_html
|_ index.php
|_ (...) // The rest of the project
source https://stackoverflow.com/questions/77452746/which-directory-of-my-php-webapp-should-i-publish-on-git
No comments:
Post a Comment