gko / nextcloud-sandbox

☁️ nextcloud app development sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

☁️ nextcloud app development sandbox

License:MIT License


Languages

Language:Dockerfile 100.0%