Please install the following things system-wide and prior to working with any of our guide:
node
.Please ensure that if you are on Windows that you have set the git setting
core.autocrlf
tofalse
andcore.eol
tolf
!
This will give you a setup of both repositories of the main Git branches.
git clone git@github.com:cobbler/cobbler.git
git clone git@github.com:cobbler/cobbler-web.git
cobbler
directory and execute the following steps:docker build -f docker/develop/develop.dockerfile -t cobbler-dev .
docker run -it --rm --name cobbler-dev -p 80:80 -p 443:443 -v ${PWD}:/code cobbler-dev
./docker/develop/scripts/setup-supervisor.sh
tail -f /var/log/cobbler/cobbler.log
cobbler-web
directory and follow these steps:npm install
to install the development and runtime dependencies.npm run build typescript-xmlrpc
npm run build cobbler-api
npm run start cobbler-frontend
cobbler
cobbler
When developing the Web Frontend it is needed sometimes to switch between different release codestreams. In the following, a few examples of the current codestreams can be seen:
Example :This assumes that you are in the root folder of the backend repository.
Example :This assumes that you are in the root folder of the backend repository.
When you are running Angular applications this is a common issue. Please check the following things:
/etc/apache2/vhosts.d/cobbler.conf
proxy.conf.json
for the correct URL.We will only be guiding you as a developer very limited here as this is a very environment specific setting. Most of the time will be "Here is a random Stackoverflow link, please read and debug yourself.".