This repository is created for local development of OpenCal, especially for the following repositories:
- Create a directory for all repositories:
mkdir ~/your-projects/opencal
cd ~/your-projects/opencal
- Pull this repository
git clone [email protected]:var-lab-it/opencal-dev.git
It should be placed in the folder ~/your-projects/opencal
.
- Pull the frontend repository:
[email protected]:var-lab-it/opencal-web.git
It should be placed in the folder ~/your-projects/opencal
.
- Pull the backend repository:
[email protected]:var-lab-it/opencal.git
It should be placed in the folder ~/your-projects/opencal
.
Directory structure after pulling all required repositories:
~/your-projects/opencal
|-- /opencal-dev
|-- /opencal-web
|-- /opencal
- 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.