This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
// | |
// you need the actionsheet plugin, image picker plugin and the camera plugin for this code to work | |
// | |
/** | |
* displays an action sheet for the user to select a photo from | |
* the gallery or using the camera | |
* | |
* @param _event {Object} information from the webview on the event | |
* |
/** | |
* <p>This will be picked up in a Servlet 3 environment like Apache Tomcat 7. | |
* | |
* <p>This replaces <code>web.xml</code>. | |
* | |
*/ | |
public class MvcRestApplicationInitializer extends AbstractAnnotationConfigDispatcherServletInitializer { | |
@Override protected Class<?> [] getRootConfigClasses() { |