Merge branch 'new-project-structure' of gitlab.com:saburly/wiaas/new-wiaas into new-project-structure

This commit is contained in:
Almira Krdzic
2018-07-30 10:28:09 +02:00
2 changed files with 17 additions and 5 deletions

View File

@@ -59,6 +59,8 @@ if such file is present. These variables will then be accessible inside wordpres
cp environment.env local.env
Update `local.env` with your local environment variables.
Remember to uncomment env variables needed for local wordpress development like WP_HOME and WP_DB_HOST.
(important: set WP_ENV to local only for local coding environment, since it will activate script debug, wordpress debug and save query options).
2) Apache
@@ -119,9 +121,11 @@ Project structure is inspired with [Roots Bedrock structure](https://roots.io/be
This approach enables:
- Better folder structure (wordpress core is in separate folder and is treated as dependency)
- Better folder structure
- wordpress core is in separate folder and is treated as dependency
- separate environment config file for non sensitive wordpress config (ex: SCRIPT_DEBUG, DISALLOW_FILE_MODS)
- dedicated plugin folder for dev team under version control management (wiaas)
- Dependency management with Composer (wordpress core and plugins)
- Easy WordPress configuration with environment specific files
- Environment variables with [Dotenv](https://github.com/vlucas/phpdotenv)
- Enhanced security (all sensitive information is accessed with environment variables)
- Secure passwords with [wp-password-bcrypt](https://github.com/roots/wp-password-bcrypt)