Development environment based on docker-compose for OpenCal.
| .github/workflows | ||
| data | ||
| .editorconfig | ||
| .env.dist | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| docker-compose.yml | ||
| generate-ics.sh | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
| setup.sh | ||
OpenCal - local development environment
This repository is created for local development of OpenCal, especially for the following repositories:
Getting started
- Create a directory for all repositories:
mkdir ~/your-projects/opencal
cd ~/your-projects/opencal
- Pull this repository
git clone git@git.var-lab.com:opencal/opencal-dev.git
It should be placed in the folder ~/your-projects/opencal/local-dev.
If you prefer not to perform the following steps manually, you can run the setup script, which will handle it for you:
./setup.sh
- Pull the repository:
git clone git@git.var-lab.com:opencal/backend.git ../backend
git clone git@git.var-lab.com:opencal/web-frontend.git ../web-frontend
git clone git@git.var-lab.com:opencal/documentation.git ../documentation
It should be placed in the folder ~/your-projects/opencal/<repository>.
~/your-projects/opencal
|-- /local-dev
|-- /backend
|-- /web-frontend
|-- /documentation
- Create
.env-file
You can copy the .env.dist file, it contains a basic configuration:
cp .env.dist .env
- Build the docker images
make build
# or
docker compose build
- Install the dependencies outside the containers
make install
# or
docker compose run --entrypoint="composer" php_backend install
docker compose run --entrypoint="npm" frontend install
- Start the docker containers
make up
# or
docker compose up -d
OpenCal is licensed under the GNU AGPLv3 License.
Created by var-lab IT GmbH and contributors.