Skip to main content

How to Build Dora SSR Engine

1. Get the Source

git clone https://github.com/ippclub/Dora-SSR.git

2. Build Game Engine Runtime

Please select the target platform you want to build for.

  1. Install Rust, xmake, and Visual Studio Community 2022 with MSBuild tools.

  2. Build bgfx libraries first, the same way as GitHub Actions.

    Tools\build-scripts\build_lib_bgfx_windows.bat
  3. Build the Windows runtime and solution.

    Tools\build-scripts\build_windows.bat
  4. For local debugging, open Projects/Windows/Dora.sln in Visual Studio and run the Debug configuration.

3. Build Web IDE

  1. Compile and run the Dora SSR engine.

  2. Install the latest version of Node.js and pnpm.

  3. Initialize the project and enter the Dora Dora editor development mode.

    Please select the platform you are building with.

cd Tools/dora-dora && pnpm install
pnpm build-yarn-editor
pnpm start

Alternatively, you can generate the Web IDE release files for the full Dora SSR project. pnpm build now automatically builds and copies YarnEditor, then syncs the final Web IDE output to project folder Assets/www.

cd Tools/dora-dora
pnpm build