npm install
npm install -g nodemon gulp
REDIS_URI
environment variable in the schul-cloud servergulp watch
to run gulpnpm run watch
to boot the application OR use npm run debug
to run with --inspect:9311 to debug the application on port 9311http://localhost:3033
Add Themes to /theme directory. Call gulp and node with SC_THEME set to name of directory.
then clear build files and gulp cache with gulp clear
run set SC_THEME={themeName}
without spaces around the equal sign!
Default branch: master
git pull
git rebase -p develop
(not git merge
!) and solve merge conflicts if neededgit push
To build a default container image run the following code:
make build
To customize the build process set some environment variables (details see
Makefile). For example set DOCKER_IMAGE_TAG
to build a custom image tag:
make build DOCKER_IMAGE_TAG="foo/bar:latest"
To push a previously built default container image run the following code:
make push
Todo: Currently private credentials (username, password) will be used for
docker login
(see ~/.docker/config.json
). This should be made configurable
later for CI pipelines.
To customize the push process set some environment variables (details see
Makefile). For example set DOCKER_IMAGE_TAG
to push a custom image tag:
make push DOCKER_IMAGE_TAG="foo/bar:latest"