-
Notifications
You must be signed in to change notification settings - Fork 53
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
Introduce docker develop environment #101
Conversation
Read DEVELOPERS.md for more informations To make it work properly I updated the dependencies too Also to prevent woocommerce to create `wp-content` within the root of the project an extra `installer-disable` was defined in the composer.json props @XedinUnknown
|
||
// ** MySQL settings ** // | ||
/** The name of the database for WordPress */ | ||
define( 'DB_NAME', 'wordpress' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DB_NAME', 'wordpress' ); | ||
|
||
/** MySQL database username */ | ||
define( 'DB_USER', 'wordpress' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DB_USER', 'wordpress' ); | ||
|
||
/** MySQL database password */ | ||
define( 'DB_PASSWORD', 'wordpress' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DB_PASSWORD', 'wordpress' ); | ||
|
||
/** MySQL hostname */ | ||
define( 'DB_HOST', 'mariadb' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DB_HOST', 'mariadb' ); | ||
|
||
/** Database Charset to use in creating database tables. */ | ||
define( 'DB_CHARSET', 'utf8' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DB_CHARSET', 'utf8' ); | ||
|
||
/** The Database Collate type. Don't change this if in doubt. */ | ||
define( 'DB_COLLATE', '' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
* | ||
* @since 2.6.0 | ||
*/ | ||
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 10 found
* @since 2.6.0 | ||
*/ | ||
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' ); | ||
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 3 found
*/ | ||
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' ); | ||
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' ); | ||
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 5 found
define( 'AUTH_KEY', 'VZyXJ<Tl/+Mg]8HBx,PTW,5l|o;#vu[[e4FGFF|g]P^s4`0oiMw)qZo ~*$lV73q' ); | ||
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' ); | ||
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' ); | ||
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 9 found
define( 'SECURE_AUTH_KEY', '&xR- ]0G}(y-5Kb+D`:#%&c7NK]X;7,;_Wv)skugw~+U]nq`qey~OG|ZTxZ5c;=^' ); | ||
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' ); | ||
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' ); | ||
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 9 found
define( 'LOGGED_IN_KEY', 'mO*CN/~&]y&A*3:$qfGM3Km/)?_6q!ph*znCSnWULl$vQ)exEC(bQ$|RNU1i{ 0w' ); | ||
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' ); | ||
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' ); | ||
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 2 found
define( 'NONCE_KEY', 'YafY sgP+RAo~:0Lj#Rf$gP(i01N<:fI&ombS !| FfF@rAR%r,|RLos2nKxeq~E' ); | ||
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' ); | ||
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' ); | ||
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 4 found
define( 'AUTH_SALT', 'rcRtXE::ax>_[{V:LR^WJzo juXti*q}A(!:)c4yi!U%C8oK/Z!A;p30l?LW+*8A' ); | ||
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' ); | ||
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' ); | ||
define( 'NONCE_SALT', 'j_1pqvHVGF?6Ya[UX^O6efup}yU;sCbT%`dOEI@=Wv;faF5BuM1fwB64(Q*IDuA$' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
- Expected 1 space after comma in function call; 8 found
define( 'SECURE_AUTH_SALT', '3[qjnu<bnz|sEJLtR#}0n^VEf ^]rXcA[hRa2VDitLhsng>m$jNG|=uy{1x29J_x' ); | ||
define( 'LOGGED_IN_SALT', 'Z}FU-B#c6W=l$WQ0Jw#(BRzDc@*/~LZxZ1;;*^ODa,Z>`r%<FuHmj_gyLepSn@V/' ); | ||
define( 'NONCE_SALT', 'j_1pqvHVGF?6Ya[UX^O6efup}yU;sCbT%`dOEI@=Wv;faF5BuM1fwB64(Q*IDuA$' ); | ||
define( 'WP_CACHE_KEY_SALT', ' yPByarc]!MHyu4S|HfR?oat*d$Umt)/XHUh_K,l%mJ^UT$DYy t@X}i,/j3lhv:' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
*/ | ||
$table_prefix = 'wp_'; | ||
|
||
define( 'WP_ALLOW_MULTISITE', true ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
$table_prefix = 'wp_'; | ||
|
||
define( 'WP_ALLOW_MULTISITE', true ); | ||
define( 'MULTISITE', true ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
|
||
define( 'WP_ALLOW_MULTISITE', true ); | ||
define( 'MULTISITE', true ); | ||
define( 'SUBDOMAIN_INSTALL', false ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'MULTISITE', true ); | ||
define( 'SUBDOMAIN_INSTALL', false ); | ||
$base = '/'; | ||
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'SUBDOMAIN_INSTALL', false ); | ||
$base = '/'; | ||
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' ); | ||
define( 'PATH_CURRENT_SITE', '/' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
$base = '/'; | ||
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' ); | ||
define( 'PATH_CURRENT_SITE', '/' ); | ||
define( 'SITE_ID_CURRENT_SITE', 1 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
define( 'DOMAIN_CURRENT_SITE', 'multisite-global-media.docker' ); | ||
define( 'PATH_CURRENT_SITE', '/' ); | ||
define( 'SITE_ID_CURRENT_SITE', 1 ); | ||
define( 'BLOG_ID_CURRENT_SITE', 1 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
/* That's all, stop editing! Happy blogging. */ | ||
|
||
/** Absolute path to the WordPress directory. */ | ||
if ( ! defined( 'ABSPATH' ) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Inline control structures are not allowed
- Expected 0 spaces after opening bracket; 1 found
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
|
||
/** Absolute path to the WordPress directory. */ | ||
if ( ! defined( 'ABSPATH' ) ) | ||
define( 'ABSPATH', dirname( __FILE__ ) . '/' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Spaces must be used to indent lines; tabs are not allowed
- Space after opening parenthesis of function call prohibited
- Expected 0 spaces before closing bracket; 1 found
@bueltge the |
@bueltge Ok for remove it, phpcs is running on CI and for me that's ok |
Read DEVELOPERS.md for more information
To make it work properly I updated the dependencies too
Also to prevent woocommerce to create
wp-content
within theroot of the project an extra
installer-disable
was definedin the composer.json
props @XedinUnknown