Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.19 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.19 KB

Nextcloud sandbox

This repo contains docker stack to be able to develop and test nextcloud app.

It contains:

  • nextcloud
  • composer
  • node

Installation

Clone the project:

git clone https://github.com/gko/nextcloud-sandbox.git

Usage

To run it simply launch:

docker-compose -f stack.yml up

then nextcloud will be available on localhost:8080

Node version

By default node 12 will be installed, but you can change it in .env file.

Creating app

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.

License

MIT

Copyright (c) 2012-2020 Konstantin Gorodinskiy