Building CKAN

yalov edited this page Aug 29, 2018 · 2 revisions

Building CKAN from master is very simple, but may be non- obvious to new users. This guide will explain how to build the most recent version of CKAN from source.

Build Requirements

Build-requirements for the various platforms, including Linux, are here.

Build process

Build from remote repository

  1. Clone the repo:
git clone https://github.com/KSP-CKAN/CKAN.git
cd CKAN
  1. Run cake build script (.\build.ps1 in the Powershell for Windows):
./build

Build in existing repository

  1. cd to CKAN directory and pull the latest commit:
cd path/to/CKAN/
git pull
  1. Remove _build/ directory, if exists:
rm -rf _build/
  1. Run cake build script (.\build.ps1 in the Powershell for Windows):
./build

If nothing failed, the new ckan.exe will reside in the CKAN/_build/ directory. You can also ./build test to build with NUnit tests.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.