diff --git a/README.md b/README.md index 90971e3..f83bd8f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# MyEnvPress +# Aztec WordPress Development Environment -My WordPress theme development environment. +Our WordPress development environment development base. ## WordPress Management @@ -67,7 +67,7 @@ This env use stylus to preprocess the CSS styles. The files stay inner the `them ## RequireJS -The env is ready to use RequireJS. The main script is `theme/js/app.js`. It is loaded in the `theme/src/includes/myenvpress.php` file. +The env is ready to use RequireJS. The main script is `theme/js/app.js`. It is loaded in the Assets class. ## Bower diff --git a/bower.json b/bower.json index 48401eb..36c4c99 100644 --- a/bower.json +++ b/bower.json @@ -1,20 +1,6 @@ { - "name": "myenvpress", - "description": "My WordPress development environment", - "main": "Gruntfile.js", - "authors": [ - "Eduardo Pittol " - ], - "license": "GPL-2.0", - "homepage": "https://github.com/edpittol/MyEnvPress", + "name": "aztec-wp-dev-env", "private": true, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ], "dependencies": { "requirejs": "^2.2.0" } diff --git a/composer.json b/composer.json index 32d7be9..cc122a4 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name" : "edpittol/myenvpress", - "description" : "My WordPress development environment.", + "name" : "aztecweb/wp-dev-env", + "description" : " Our WordPress development environment development base.", "repositories" : [{ "type" : "composer", "url" : "https://wpackagist.org" @@ -15,7 +15,7 @@ }, "autoload" : { "psr-4" : { - "MyEnvPress\\" : "public/wp-content/themes/myenvpress/includes/" + "AztecWpDevEnv\\" : "public/wp-content/themes/aztec-wp-dev-env/includes/" } } } \ No newline at end of file diff --git a/extra/data/myenvpress.xml b/extra/data/wp-dev-env.xml similarity index 99% rename from extra/data/myenvpress.xml rename to extra/data/wp-dev-env.xml index 38f2da2..30a63e7 100644 --- a/extra/data/myenvpress.xml +++ b/extra/data/wp-dev-env.xml @@ -26,7 +26,7 @@ > - MyEnvPress + Aztec WP Dev Env Data http://localhost:8080 Só mais um site WordPress Thu, 29 Dec 2016 01:36:03 +0000 diff --git a/package.json b/package.json index fea5193..257da18 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "myenvpress", - "description": "My WordPress development environment", + "name": "aztec-wp-dev-env", + "description": "Our WordPress development environment development base.", "repository": { "type": "git", - "url": "git@github.com:edpittol/MyEnvPress.git" + "url": "git@github.com:aztecweb/wp-dev-env.git" }, - "version": "0.0.0", + "version": "0.1.0", "license": "GPL-2.0", "main": "Gruntfile.js", "devDependencies": { diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 762c112..a931562 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,5 +1,5 @@ - + The PHP coding standard. diff --git a/theme/js/app.js b/theme/js/app.js index dbc8a62..dd660ed 100644 --- a/theme/js/app.js +++ b/theme/js/app.js @@ -5,7 +5,7 @@ * grunt-bower task. */ requirejs.config({ - baseUrl: myenvpress.base_url, + baseUrl: aztec_script.base_url, paths: { app: '../app', libs: '../libs' diff --git a/theme/src/404.php b/theme/src/404.php index 10244bc..13f5e3a 100755 --- a/theme/src/404.php +++ b/theme/src/404.php @@ -5,7 +5,7 @@ * @link https://codex.wordpress.org/Creating_an_Error_404_Page * * @package WordPress - * @subpackage MyEnvPress + * @subpackage AztecWpDevEnv * @since 0.1.0 * @version 0.1.0 */ diff --git a/theme/src/footer.php b/theme/src/footer.php index e18b5e9..e74daf5 100644 --- a/theme/src/footer.php +++ b/theme/src/footer.php @@ -5,7 +5,7 @@ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package WordPress - * @subpackage MyEnvPress + * @subpackage AztecWpDevEnv * @since 0.1.0 * @version 0.1.0 */ diff --git a/theme/src/functions.php b/theme/src/functions.php index 7a22b59..b4037b7 100644 --- a/theme/src/functions.php +++ b/theme/src/functions.php @@ -1,6 +1,6 @@ get_stylesheet_directory_uri() . '/assets/js/libs', ] ); } @@ -53,7 +53,7 @@ function enqueue_script() { * @return string The HTML tag adding the main application script. */ function script_loader_tag( $tag, $handle, $src ) { - if ( 'myenvpress' === $handle ) { + if ( 'aztec-script' === $handle ) { $require_main = get_stylesheet_directory_uri() . '/assets/js/app'; return ''; } diff --git a/theme/src/includes/Setup/DisableEmoji.php b/theme/src/includes/Setup/DisableEmoji.php index 5a64bd3..d9eed48 100644 --- a/theme/src/includes/Setup/DisableEmoji.php +++ b/theme/src/includes/Setup/DisableEmoji.php @@ -2,12 +2,12 @@ /** * DisableEmoji class * - * @package MyEnvPress + * @package AztecWpDevEnv */ -namespace MyEnvPress\Setup; +namespace AztecWpDevEnv\Setup; -use MyEnvPress\Base; +use AztecWpDevEnv\Base; /** * Disable default WordPress emoji support diff --git a/theme/src/includes/Setup/Head.php b/theme/src/includes/Setup/Head.php index 4816e1d..9cb030d 100644 --- a/theme/src/includes/Setup/Head.php +++ b/theme/src/includes/Setup/Head.php @@ -2,12 +2,12 @@ /** * Head class. * - * @package MyEnvPress + * @package AztecWpDevEnv */ -namespace MyEnvPress\Setup; +namespace AztecWpDevEnv\Setup; -use MyEnvPress\Base; +use AztecWpDevEnv\Base; /** * Manipulate elements inner the head tag diff --git a/theme/src/includes/Setup/HttpHeader.php b/theme/src/includes/Setup/HttpHeader.php index 39503a6..7999478 100644 --- a/theme/src/includes/Setup/HttpHeader.php +++ b/theme/src/includes/Setup/HttpHeader.php @@ -2,12 +2,12 @@ /** * HttpHeader class. * - * @package MyEnvPress + * @package AztecWpDevEnv */ -namespace MyEnvPress\Setup; +namespace AztecWpDevEnv\Setup; -use MyEnvPress\Base; +use AztecWpDevEnv\Base; /** * Manipulate elements inner the head tag diff --git a/theme/src/index.php b/theme/src/index.php index d50d72c..02b9b2f 100644 --- a/theme/src/index.php +++ b/theme/src/index.php @@ -10,7 +10,7 @@ * @link https://codex.wordpress.org/Template_Hierarchy * * @package WordPress - * @subpackage MyEnvPress + * @subpackage AztecWpDevEnv * @since 0.1.0 * @version 0.1.0 */ diff --git a/theme/src/page.php b/theme/src/page.php index c116e1c..b529906 100644 --- a/theme/src/page.php +++ b/theme/src/page.php @@ -10,7 +10,7 @@ * @link https://codex.wordpress.org/Template_Hierarchy * * @package WordPress - * @subpackage MyEnvPress + * @subpackage AztecWpDevEnv * @since 0.1.0 * @version 0.1.0 */ diff --git a/theme/src/single.php b/theme/src/single.php index d2fd966..dcd8ea6 100755 --- a/theme/src/single.php +++ b/theme/src/single.php @@ -5,7 +5,7 @@ * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package WordPress - * @subpackage MyEnvPress + * @subpackage AztecWpDevEnv * @since 0.1.0 * @version 0.1.0 */ diff --git a/theme/src/style.css b/theme/src/style.css index af38a40..abb9406 100644 --- a/theme/src/style.css +++ b/theme/src/style.css @@ -1,8 +1,8 @@ /* -Theme Name: MyEnvPress +Theme Name: Aztec WordPress Development Environment Author: Eduardo Pittol Author URI: http://edpittol.me/ -Description: My WordPress development environment. +Description: Our WordPress development environment development base. Version: 0.1.0 License: GNU General Public License v2 License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/wp-cli.yml b/wp-cli.yml index 991cdf3..d3de87c 100644 --- a/wp-cli.yml +++ b/wp-cli.yml @@ -5,11 +5,11 @@ core download: locale: pt_BR core config: - dbname: myenvpress + dbname: aztecwpdevenv dbuser: root core install: - title: MyEnvPress + title: Aztec WordpPress Development Environment admin_user: admin admin_password: admin admin_email: admin@admin.com