minio-app/README.md

45 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2017-01-24 06:06:51 +00:00
# Minio Cloudron App
This repository contains the Cloudron app package source for [Minio](http://www.minio.io/).
## Installation
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.minio.cloudronapp)
2017-02-18 11:59:48 +00:00
or using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/)
2017-01-24 06:06:51 +00:00
```
cloudron install --appstore-id io.minio.cloudronapp
```
## Building
2017-02-18 11:59:48 +00:00
The app package can be built using the [Cloudron command line tooling](https://git.cloudron.io/cloudron/cloudron-cli/).
2017-01-24 06:06:51 +00:00
```
cd minio-app
cloudron build
cloudron install
```
## Testing
The e2e tests are located in the `test/` folder and require [nodejs](http://nodejs.org/). They are creating a fresh build, install the app on your Cloudron, perform tests, backup, restore and test if the repos are still ok. The tests expect port 29418 to be available.
```
cd minio-app/test
npm install
2017-06-14 20:45:46 +00:00
PATH=$PATH:node_modules/.bin mocha --bail test.js
2017-01-24 06:06:51 +00:00
```
## Notes
MinIO Console is an embedded web-based object browser built into MinIO Server
## Multi-domain
MINIO_DOMAIN=domain.com env var can be set to server DNS style requests as bucket.domain.com . This requires the platform code to set aliases for the httpPorts and not the primaryport.