Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.87 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.87 KB

Kidsakoder.no

Kidsakoder.no is based on the Enonic XP platform.

Installation requirements

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.

Installation

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.

Linux

Just use your terminal and distro of choice.

Mac

iTerm2 is recommended for Mac, but the default terminal works just as fine for running this project.

Windows

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).

Setup

  • Start Docker
  • Open your shell and do the following steps:
    1. Navigate to the root folder for this project
    2. Initialize: ./scripts/init.sh or make init
    3. Start the server: ./scripts/run.sh or make start
    4. Deploy / redeploy the kidsakoder.no app ./scripts/redeploy.sh or make 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:

  1. Stop the server: ./scripts/stop.sh or make stop
  2. Restart the server: ./scripts/run.sh or make restart

To clean the project, use make clean.

Run tests

make test