gitea-app/README.md

37 lines
960 B
Markdown
Raw Normal View History

2015-11-24 21:29:18 +00:00
# Gogs Cloudron App
2015-07-29 13:16:45 +00:00
2015-11-24 21:29:18 +00:00
This repository contains the Cloudron app package source for [Gogs](http://gogs.io/).
2015-08-19 16:54:06 +00:00
2015-11-24 21:29:18 +00:00
## Installation
2016-03-23 20:22:16 +00:00
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gogs.cloudronapp)
2015-11-24 21:29:18 +00:00
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
```
cloudron install --appstore-id io.gogs.cloudronapp
```
## Building
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
cd gogs-app
cloudron build
cloudron install
```
## Testing
2015-11-24 21:59:52 +00:00
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.
2015-11-24 21:29:18 +00:00
```
cd gogs-app/test
npm install
2016-04-13 04:01:52 +00:00
USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
2015-11-24 21:29:18 +00:00
```
2015-07-29 13:16:45 +00:00