#Code for Orlando - Pet Adoption Wordpress Plugin
###To Install
- Install project to WordPress plugins folder (
wp-content/plugins/
). - Activate plugin in WP Admin Panel.
- Provide a domain address in WP Admin Panel Settings (
http://cfo-pet-adoption-server.eastus.cloudapp.azure.com
should work). - Place Shortcode
[petadoption]
on page, post, etc. to render the plugin.
###Development
- Do take notice of the
.gitmodules
. There are numerous git submodules being used for the front-end development.- run
npm run submodules:init
to download submodules
- run
gulp-utils
provides easy compilation of javascript, stylus, and pug/jade files.- you can can read more about how it works on its github repo
gulp --tasks
shows a list of all possible tasks, but you'll probably only want to use:gulp build-js
- bundles and minifies javascript. (specify this is not a dp-boilerplate project if asked)gulp pug-php
- compilesadmin/pug/*.pug
andpublic/pug/*.pug
filesgulp pug-ejs
- compilespublic/javascript/modules/views/html/*.pug
files to.ejs
files
###To Do
- Improve design of advanced search view