Universal Dashboard Community Edition as a free, open source platform for developing websites in PowerShell. In this post, we’ll go over some of the fundamentals of contributing to the platform from a source code perspective.
To build and run UD in a development environment you will need a couple of prerequisites. Universal Dashboard is built on .NET Core, ASP.NET Core, and React. To build and run the project, you’ll need the following.
To build a release version, you can use the
build.ps1 script in the root of the
To build release, use the following command line.
.\build.ps1 -Configuration Release
If you don't want to wait for the help to build, you can use the
-NoHelp script to skip building the help.
To build in debug mode, you can run
dotnet build from the
cd .\srcdotnet build
To host the UI in the webpack dev server, you can run the npm task as follows.
cd .\src\clientnpm run dev
The webpack dev server will run on port 10000. You should run your
Start-UDDashboard commands on port 10001.
You can check out the integration tests to see how this is done.