Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gko/nextcloud-sandbox
☁️ nextcloud app development sandbox
https://github.com/gko/nextcloud-sandbox
app composer docker nextcloud node npm php plugin
Last synced: 21 days ago
JSON representation
☁️ nextcloud app development sandbox
- Host: GitHub
- URL: https://github.com/gko/nextcloud-sandbox
- Owner: gko
- License: mit
- Created: 2019-12-27T17:07:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-28T08:29:50.000Z (about 5 years ago)
- Last Synced: 2024-11-08T20:49:22.750Z (3 months ago)
- Topics: app, composer, docker, nextcloud, node, npm, php, plugin
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```shell
git clone https://github.com/gko/nextcloud-sandbox.git
```## Usage
To run it simply launch:
```shell
docker-compose -f stack.yml up
```then `nextcloud` will be available on [localhost:8080](https://localhost:8080/)
### Node version
By default `node` 12 will be installed, but you can change it in [`.env`](/.env) file.
### Creating app
Let's look at the example of [nextcloud/notes](https://github.com/nextcloud/notes)
First, clone repo within [`custom_apps/`](/custom_apps) folder:
```shell
git clone https://github.com/nextcloud/notes.git
```then bash into container:
```shell
docker exec -it \
--workdir /var/www/html/custom_apps/notes \
nextcloud \
/bin/bash
```Then follow the `developer` instructions in the [notes/README](https://github.com/nextcloud/notes#warning-developer-info)
Once you start app with `npm run dev` within docker you can simply develop in the local `custom_apps/notes/` folder.
## License
[MIT](http://opensource.org/licenses/MIT)
Copyright (c) 2012-2020 Konstantin Gorodinskiy