Kidsakoder.no is based on the Enonic XP platform.
To run this site locally, you will have to install Docker and Docker Compose.
Git is also required, for setup of and contributing to this project.
There are predefined scripts for initializing, running the Enonic Server and deploying this site as an Enonic XP app locally. These scripts require a unix shell. Please refer to the official Docker documentation for Enonic XP for installing these containers without using these scripts.
Just use your terminal and distro of choice.
iTerm2 is recommended for Mac, but the default terminal works just as fine for running this project.
It is recommended to install a unix-like shell for Windows, e.g. Windows Subsystem for Linux (official from Microsoft), Cygwin or Babun (Babun is pre-configured Cygwin with additional packages).
- Start Docker
- Open your shell and do the following steps:
- Navigate to the root folder for this project
- Initialize:
./scripts/init.shormake init - Start the server:
./scripts/run.shormake start - Deploy / redeploy the kidsakoder.no app
./scripts/redeploy.shormake restart
Rerun step 4 to apply changes in the kidsakoder.no app, and run the following to apply changes to the server or docker config:
- Stop the server:
./scripts/stop.shormake stop - Restart the server:
./scripts/run.shormake restart
To clean the project, use make clean.
make test