Skip to content

David-Development/nextcloud-dev-docker

Repository files navigation

nextcloud-dev-docker

Prerequisites

Linux:

sudo apt install docker-compose
sudo systemctl start docker
sudo usermod -aG docker $USER

Then log out and log back in again.

Mac:

Windows:

TL;DR

In a terminal, paste and run these commands. :) After starting up the container you will be able to edit the calendar app (which can be found in the apps/calendar folder). Any changes you make will be automatically updated. Just head over to your browser and hit the reload button to see the changes.

On Mac or Linux

git clone https://github.com/David-Development/nextcloud-dev-docker.git
cd nextcloud-dev-docker/apps/
git clone https://github.com/nextcloud/contacts.git
cd ..
docker-compose up --build

On Windows

git clone https://github.com/David-Development/nextcloud-dev-docker.git --config core.autocrlf=input
cd nextcloud-dev-docker/apps/
git clone https://github.com/nextcloud/contacts.git --config core.autocrlf=input
cd ..
docker-compose up --build

Why use this container?

This docker setup allows you to setup a development environment in just a few minutes. It allows you to map the app that you want to work on into the container so that you can use your favorite development tools on your computer.

How to work/develop on a different app

Just clone the app that you want to work on into the apps folder which can be found in this directory. After that, open the run.sh which is located in this folder and add the required build commands. There are already a few examples included in the run.sh file.

destroy

docker-compose down -v

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published