If you are running a standard dotcms release running the bundled Tomcat, these are the steps to deploy a static plugin:
- Extract the plugin archive into it's own folder in the <your_dotCMS>/plugins folder (e.g. <your_dotCMS>/plugins/oauth)
- Stop dotcms
- If you are making changes to an already deployed plugin:
- undeploy-plugins.sh (Linux, Unix-based)
- undeploy-plugins.bat (Windows)
- Deploy your plugin by running:
- deploy-plugins.sh (Linux, Unix-based)
- deploy-plugins.bat (Windows)
- Restart dotCMS
If you are running dotcms as a war file:
- Extract the plugin archive into it's own folder in the <your_dotCMS>/plugins folder (e.g. <your_dotCMS>/plugins/oauth)
- If you are making changes to an already deployed plugin:
- undeploy-plugins.sh (Linux, Unix-based)
- undeploy-plugins.bat (Windows)
- Deploy your plugin by running:
- deploy-plugins.sh (Linux, Unix-based)
- deploy-plugins.bat (Windows)
- Generate a new war by running bin/buildwar.sh
- Follow the best practices for deploying a war file to your application server.