Skip to content

Commit

Permalink
Reran gulp commands and removed excess files
Browse files Browse the repository at this point in the history
  • Loading branch information
gagenotar committed Oct 24, 2024
1 parent fe5e9e3 commit 03b29b2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 59 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {{My Project}} #
# {{Senior Design}} #

{{Here is a short description of the plugin. This should be no more than 150 characters. No markup here.}}

Expand All @@ -10,7 +10,7 @@

## Documentation ##

Head over to the [{{My Project}} wiki](https://github.com/UCF/{{My-Project}}/wiki) for detailed information about this plugin, installation instructions, and more.
Head over to the [{{Senior Design}} wiki](https://github.com/UCF/{{Senior-Design}}/wiki) for detailed information about this plugin, installation instructions, and more.


## Changelog ##
Expand All @@ -35,23 +35,23 @@ Note that compiled, minified css and js {{edit this list if the plugin doesn't i
* gulp-cli

### Instructions ###
1. Clone the {{My-Project}} repo into your local development environment, within your WordPress installation's `plugins/` directory: `git clone https://github.com/UCF/{{My-Project}}.git`
2. `cd` into the new {{My-Project}} directory, and run `npm install` to install required packages for development into `node_modules/` within the repo
1. Clone the {{Senior-Design}} repo into your local development environment, within your WordPress installation's `plugins/` directory: `git clone https://github.com/UCF/{{Senior-Design}}.git`
2. `cd` into the new {{Senior-Design}} directory, and run `npm install` to install required packages for development into `node_modules/` within the repo
3. Optional: If you'd like to enable [BrowserSync](https://browsersync.io) for local development, or make other changes to this project's default gulp configuration, copy `gulp-config.template.json`, make any desired changes, and save as `gulp-config.json`.

To enable BrowserSync, set `sync` to `true` and assign `syncTarget` the base URL of a site on your local WordPress instance that will use this plugin, such as `http://localhost/wordpress/my-site/`. Your `syncTarget` value will vary depending on your local host setup.

The full list of modifiable config values can be viewed in `gulpfile.js` (see `config` variable).
3. Run `gulp default` to process front-end assets.
4. If you haven't already done so, create a new WordPress site on your development environment to test this plugin against{{IF THIS PLUGIN REQUIRES OTHER PLUGINS:}}, and [install and activate all plugin dependencies](https://github.com/UCF/{{My-Project}}/wiki/Installation#installation-requirements){{ENDIF}}.
4. If you haven't already done so, create a new WordPress site on your development environment to test this plugin against{{IF THIS PLUGIN REQUIRES OTHER PLUGINS:}}, and [install and activate all plugin dependencies](https://github.com/UCF/{{Senior-Design}}/wiki/Installation#installation-requirements){{ENDIF}}.
5. Activate this plugin on your development WordPress site.
6. Configure plugin settings from the WordPress admin under "{{Your plugin's admin menu label}}".
7. Run `gulp watch` to continuously watch changes to scss and js files.{{edit this list if the plugin doesn't include css/js!}} If you enabled BrowserSync in `gulp-config.json`, it will also reload your browser when plugin files change.

### Other Notes ###
* This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the `gulp readme` command has been run before committing README changes. See the [contributing guidelines](https://github.com/UCF/{{My-Project}}/blob/master/CONTRIBUTING.md) for more information.
* This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the `gulp readme` command has been run before committing README changes. See the [contributing guidelines](https://github.com/UCF/{{Senior-Design}}/blob/master/CONTRIBUTING.md) for more information.


## Contributing ##

Want to submit a bug report or feature request? Check out our [contributing guidelines](https://github.com/UCF/{{My-Project}}/blob/master/CONTRIBUTING.md) for more information. We'd love to hear from you!
Want to submit a bug report or feature request? Check out our [contributing guidelines](https://github.com/UCF/{{Senior-Design}}/blob/master/CONTRIBUTING.md) for more information. We'd love to hear from you!
14 changes: 7 additions & 7 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
=== {{My Project}} ===
=== {{Senior Design}} ===
Contributors: ucfwebcom
Requires at least: 5.3 {{Update as needed!}}
Tested up to: 5.3 {{Update as needed!}}
Expand All @@ -17,7 +17,7 @@ License URI: http://www.gnu.org/copyleft/gpl-3.0.html

== Documentation ==

Head over to the [{{My Project}} wiki](https://github.com/UCF/{{My-Project}}/wiki) for detailed information about this plugin, installation instructions, and more.
Head over to the [{{Senior Design}} wiki](https://github.com/UCF/{{Senior-Design}}/wiki) for detailed information about this plugin, installation instructions, and more.


== Changelog ==
Expand All @@ -42,23 +42,23 @@ Note that compiled, minified css and js {{edit this list if the plugin doesn't i
* gulp-cli

= Instructions =
1. Clone the {{My-Project}} repo into your local development environment, within your WordPress installation's `plugins/` directory: `git clone https://github.com/UCF/{{My-Project}}.git`
2. `cd` into the new {{My-Project}} directory, and run `npm install` to install required packages for development into `node_modules/` within the repo
1. Clone the {{Senior-Design}} repo into your local development environment, within your WordPress installation's `plugins/` directory: `git clone https://github.com/UCF/{{Senior-Design}}.git`
2. `cd` into the new {{Senior-Design}} directory, and run `npm install` to install required packages for development into `node_modules/` within the repo
3. Optional: If you'd like to enable [BrowserSync](https://browsersync.io) for local development, or make other changes to this project's default gulp configuration, copy `gulp-config.template.json`, make any desired changes, and save as `gulp-config.json`.

To enable BrowserSync, set `sync` to `true` and assign `syncTarget` the base URL of a site on your local WordPress instance that will use this plugin, such as `http://localhost/wordpress/my-site/`. Your `syncTarget` value will vary depending on your local host setup.

The full list of modifiable config values can be viewed in `gulpfile.js` (see `config` variable).
3. Run `gulp default` to process front-end assets.
4. If you haven't already done so, create a new WordPress site on your development environment to test this plugin against{{IF THIS PLUGIN REQUIRES OTHER PLUGINS:}}, and [install and activate all plugin dependencies](https://github.com/UCF/{{My-Project}}/wiki/Installation#installation-requirements){{ENDIF}}.
4. If you haven't already done so, create a new WordPress site on your development environment to test this plugin against{{IF THIS PLUGIN REQUIRES OTHER PLUGINS:}}, and [install and activate all plugin dependencies](https://github.com/UCF/{{Senior-Design}}/wiki/Installation#installation-requirements){{ENDIF}}.
5. Activate this plugin on your development WordPress site.
6. Configure plugin settings from the WordPress admin under "{{Your plugin's admin menu label}}".
7. Run `gulp watch` to continuously watch changes to scss and js files.{{edit this list if the plugin doesn't include css/js!}} If you enabled BrowserSync in `gulp-config.json`, it will also reload your browser when plugin files change.

= Other Notes =
* This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the `gulp readme` command has been run before committing README changes. See the [contributing guidelines](https://github.com/UCF/{{My-Project}}/blob/master/CONTRIBUTING.md) for more information.
* This plugin's README.md file is automatically generated. Please only make modifications to the README.txt file, and make sure the `gulp readme` command has been run before committing README changes. See the [contributing guidelines](https://github.com/UCF/{{Senior-Design}}/blob/master/CONTRIBUTING.md) for more information.


== Contributing ==

Want to submit a bug report or feature request? Check out our [contributing guidelines](https://github.com/UCF/{{My-Project}}/blob/master/CONTRIBUTING.md) for more information. We'd love to hear from you!
Want to submit a bug report or feature request? Check out our [contributing guidelines](https://github.com/UCF/{{Senior-Design}}/blob/master/CONTRIBUTING.md) for more information. We'd love to hear from you!
8 changes: 0 additions & 8 deletions includes/select2-test-init.js

This file was deleted.

5 changes: 0 additions & 5 deletions senior-design.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
function select2_test_enqueue_scripts() {
// Enqueue Select2 CSS
wp_enqueue_style('select2-css', 'https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css');

// Enqueue compiled custom styles
wp_enqueue_style('custom-styles-css', plugin_dir_url(__FILE__) . 'static/css/style.min.css');

// Enqueue Select2 JS
wp_enqueue_script('select2-js', 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js', array('jquery'), null, true);
Expand All @@ -28,6 +25,4 @@ function select2_test_enqueue_scripts() {
require_once 'includes/senior-design-v2.php';
require_once 'includes/csv-to-cpt.php';


// add_shortcode( 'senior-design', 'senior_design_display');
add_shortcode('sd_project_display', 'sd_project_display');
29 changes: 0 additions & 29 deletions src/scss/custom-styles.scss

This file was deleted.

4 changes: 1 addition & 3 deletions src/scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
// ...


//
// Project-specific styles and overrides
//
// @import 'custom-styles';
//...

// Import your plugin's custom styles here
// ...

0 comments on commit 03b29b2

Please sign in to comment.