Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hellofromtonya committed Nov 18, 2016
0 parents commit 41786a3
Show file tree
Hide file tree
Showing 9 changed files with 116 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Unit tests config
phpunit.xml
.travis.yml
/bin
tests/mocks/env/


# Sass cache
.sass-cache/

# Development files
/node_modules
/assets/vendor/

.idea/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.0.0

Initial release.
15 changes: 15 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GNU General Public License 2.0+

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Sandbox Workspace

This repository is a WordPress plugin that gives you a sandbox workspace to write code, test, and learn. It's where you _play_. I use it on [KnowTheCode.io](https://knowthecode.io) in the hands-on labs.

You can use however you'd like.

## Installation

1. Download it.
2. Put into your `wp-content/plugins/` folder
3. Extract it
4. Go into the new folder
5. Then go to plugins and activate it.


Installation from GitHub is as simple as cloning the repo onto your local machine. To clone the repo, do the following:

1. Using PhpStorm, open your project and navigate to `wp-content/plugins/`. (Or open terminal and navigate there).
2. Then type: `git clone https://github.com/KnowTheCode/Sandbox-Workspace`.
3. Go into the new folder
4. Then go to plugins and activate it.

## Contributions

All feedback, bug reports, and pull requests are welcome.
2 changes: 2 additions & 0 deletions assets/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
// silence is golden
2 changes: 2 additions & 0 deletions assets/js/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
// silence is golden
29 changes: 29 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php
/**
* Starter WordPress Plugin
*
* @package KnowTheCode\SandboxWorkspace
* @author hellofromTonya
* @license GPL-2.0+
*
* @wordpress-plugin
* Plugin Name: Sandbox Workspace WordPress Plugin
* Plugin URI: https://knowthecode.io/
* Description: This plugin gives you a workspace to write code, test it, and learn. This is your playground.
* Version: 1.0.0
* Author: hellofromTonya
* Author URI: https://knowthecode.io
* Text Domain: sandbox
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/

namespace KnowTheCode\SandboxWorkspace;

if ( ! defined( 'ABSPATH' ) ) {
exit( 'Cheatin&#8217; uh?' );
}

define( 'SANDBOX_WORKSPACE_URL', plugin_dir_url( __FILE__ ) );

require_once( __DIR__. '/src/support/load-assets.php' );
2 changes: 2 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?php
// silence is golden
23 changes: 23 additions & 0 deletions src/support/load-assets.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Load the assets
*
* @package KnowTheCode\SandboxWorkspace\Support
* @since 1.0.0
* @author hellofromTonya
* @link https://UpTechLabs.io
* @license GNU General Public License 2.0+
*/
namespace KnowTheCode\SandboxWorkspace\Support;

add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\load_assets' );
/**
* Load assets.
*
* @since 1.0.0
*
* @return void
*/
function load_assets() {

}

0 comments on commit 41786a3

Please sign in to comment.