Dnn Module Creator is a Dnn module that allows quickly creating Dnn modules directly on a running site.
This module was extracted from https://github.com/DnnSoftware/Dnn.Platform
-
Fork this repository to your own github account.
-
Clone this repository into the DesktopModules folder of a working local Dnn installation using your favorite git client. If using the command-line it would look like this:
cd c:\websites\dnn980\DesktopModules git clone https://github.com/your-user-name/Dnn.ModuleCreator
-
Open the solution in Visual Studio.
-
The first you will need to create a Dnn package to properly register the module in dnn by selecting the
Package
mode and clicking the debug button. This will fire up a package build in the command line for you. -
In Dnn, go to
Extensions => Available Extensions => Modules
and install the Module Creator module -
Make sure to create a branch to contain your changes before you start working.
-
As you develop the module you can then switch the build mode to
Deploy
to have your changes applied in place on the working website. -
Commit your changes and push to your fork of the repository.
-
Create a pull request towards this repository.
This information is for maintainers of this repository. This repository uses GithubActions and GitVersion for release management. Build targets are in place for CI to help with release management.
- Make sure all pull requests for a version have a milestone set to that version
develop
is the branch to merge any pull request for the next version, you don't have to decide on the version number until you are ready to release.- When ready to release, first create a release branch with the version number you want for this release. Ex:
release/9.8.1
Within a few minutes you will get a beta release published, it will be marked aspre-release
anddraft
. It will collect all the PR titles and contributors to automatically generate the release notes. At this point you can customize the release notes if you want before publishing the beta release. - When ready for an official release, merge the release branch into the
main
branch. This will again automate the release creation but without it beeing beta (you still need to publish it as it will by default bedraft
to allow editing before publishing).