https://github.com/anspress/anspress-boilerplate-extension
Generate AnsPress extensions base source codes
https://github.com/anspress/anspress-boilerplate-extension
Last synced: 4 months ago
JSON representation
Generate AnsPress extensions base source codes
- Host: GitHub
- URL: https://github.com/anspress/anspress-boilerplate-extension
- Owner: anspress
- Created: 2015-01-27T14:19:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-24T03:54:35.000Z (about 11 years ago)
- Last Synced: 2026-01-14T17:37:27.515Z (7 months ago)
- Language: PHP
- Size: 133 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# AnsPress boilerplate extension
This is a AnsPress extension base code generator grunt template. You can use this template to generate source codes of AnsPress extension.
Simply answer the questions when prompted and your extension will be built by grunt.
> NOTE: This is not a AnsPress extension but it is a AnsPress extension generator, it means you can't use this project file directly in WordPress
[grunt-init]: http://gruntjs.com/project-scaffolding
## Installation
If you haven't already done so, install [grunt-init][]:
```
npm install -g grunt-init
```
Once grunt-init is installed, place this template in your `~/.grunt-init/` directory. It's recommended that you use git to clone this template into that directory, as follows:
### Linux/Mac Users
```
git clone git@github.com:wp3/anspress-boilerplate-extension.git ~/.grunt-init/anspress-boilerplate-extension
```
### Windows Users
```
git clone git@github.com:wp3/anspress-boilerplate-extension.git %USERPROFILE%/.grunt-init/anspress-boilerplate-extension
```
## Usage
1. At the command-line, create a new directory in wp-content/plugins
2. cd into an empty directory
3. run the following command and follow the prompts
```
grunt-init anspress-boilerplate-extension
```
## Support
Have question ? feel free to ask here: http://anspress.io/questions/ask/
## Credit
Most of this is copied from [grunt-wp-plugin](https://github.com/10up/grunt-wp-plugin) by 10up, so thanks to them!