Repository navigation
Build with Command Line
- .NET 11.0 SDK or later
- Node.js (current LTS version)
-
Install the Node packages. In the
yafsrc/YetAnotherForum.NETfolder run:npm install
-
Compile the JavaScript and CSS files (in the same folder):
npm run build
This runs the default Grunt task. If you have installed the Grunt CLI globally (
npm install -g grunt-cli),gruntworks as well. -
Build the solution for your database from the
yafsrcfolder:Database Command Microsoft SQL Server dotnet build YAF.NET-SqlServer.slnxMySQL / MariaDB dotnet build YAF.NET-MySql.slnxPostgreSQL dotnet build YAF.NET-PostgreSQL.slnxSQLite dotnet build YAF.NET-Sqlite.slnx
Start the web project from the yafsrc/YetAnotherForum.NET folder, e.g. for SQL Server:
dotnet run --project YAF-SqlServer.csprojSet the connection string in appsettings.json first (see Installation). On the first start you are redirected to the installation wizard.
To run your local source in Docker instead, see Docker - Test compose files.
YetAnotherForum.NET (YAF) the Open Source Discussion Forum for ASP.NET - https://YetAnotherForum.NET - Support me on Ko-fi
Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
Getting started
- About YAF.NET
- Features
- Docker
- Installation (IIS)
- Hosting on Linux with nginx
- Integration (ASP.NET Core)
- Upgrade to v4
Configuration
Administration
Help
Development
Legacy (v3 and older)