This repo contains docker
stack to be able to develop and test nextcloud
app.
It contains:
- nextcloud
- composer
- node
Clone the project:
git clone https://github.com/gko/nextcloud-sandbox.git
To run it simply launch:
docker-compose -f stack.yml up
then nextcloud
will be available on localhost:8080
By default node
12 will be installed, but you can change it in .env
file.
Let's look at the example of nextcloud/notes
First, clone repo within custom_apps/
folder:
git clone https://github.com/nextcloud/notes.git
then bash into container:
docker exec -it \
--workdir /var/www/html/custom_apps/notes \
nextcloud \
/bin/bash
Then follow the developer
instructions in the notes/README
Once you start app with npm run dev
within docker you can simply develop in the local custom_apps/notes/
folder.
Copyright (c) 2012-2020 Konstantin Gorodinskiy