Achievements gamifies your WordPress site with challenges, badges, and points.
- Download the plugin from WordPress.org.
- For more information, go to achievementsapp.com.
Have you found a bug, or have a feature request? If you have a Github account, please report issues here. Otherwise, send an email to: paul at byotos.com.
If you just want to use Achievements on your WordPress site, it's best to download the plugin from WordPress.org. This Github repository is intended for developers and other people who want to contribute to the project.
Install Node.js and the Grunt CLI.
- Install Node.js: You can download and install the package or use a package manager, like Homebrew.
- Install the Grunt CLI: After installing Node, run
npm install -g grunt-cliin your shell.
Once you've installed Node.js and the Grunt CLI, you're ready to get started.
- Clone this repository in a directory of your choice by running
git clone https://github.com/paulgibbs/achievements.git. - Navigate to the directory in your shell.
- Run
npm install. - In your shell environment, set the
ACHIEVEMENTS_DIRvariable to the path to your WordPress dev install's plugin folder. Be sure to call the actual plugin directoryachievements! For example:export ACHIEVEMENTS_DIR="/Users/paul/Sites/example.com/wp-content/plugins/achievements" - Run
grunt rsync:everythingto copy the dev version of the plugin into your WordPress folder.
The src directory contains the Achievements' plugin core files. You can develop against the src directory like you normally would develop against any other WordPress plugins' SVN trunk.
Generates the development-optimised source in the src directory.
Generates the production-optimised source in the build directory.
Removes the build directory.
Copies the src directory to the location specified by the ACHIEVEMENTS_DIR environment variable.
Watches for changes to the LESS files; compiles into CSS, and copies into the src directory. Also does a rsync:everything. USE THIS WHEN WORKING ON THE PLUGIN!
Watches for changes to any files in the src directory, and rsyncs to the location specified by the ACHIEVEMENTS_DIR environment variable. USE THIS WHEN WORKING ON THE PLUGIN!