1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-08-31 23:04:58 +00:00

First working version, tests follow

This commit is contained in:
Dennis Schwerdel
2017-06-02 10:32:24 +02:00
parent 681da0184d
commit a37ce3ea37
11 changed files with 52 additions and 136 deletions

View File

@@ -1,15 +1,15 @@
# Gogs Cloudron App
# Gitea Cloudron App
This repository contains the Cloudron app package source for [Gogs](http://gogs.io/).
This repository contains the Cloudron app package source for [Gitea](http://gitea.io/).
## Installation
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gogs.cloudronapp)
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
```
cloudron install --appstore-id io.gogs.cloudronapp
cloudron install --appstore-id io.gitea.cloudronapp
```
## Building
@@ -17,7 +17,7 @@ cloudron install --appstore-id io.gogs.cloudronapp
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
cd gogs-app
cd gitea-app
cloudron build
cloudron install
@@ -28,7 +28,7 @@ cloudron install
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 gogs-app/test
cd gitea-app/test
npm install
USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js