1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-01-15 08:41:05 +00:00
gitea-app/README.md

37 lines
996 B
Markdown
Raw Normal View History

2017-06-02 10:32:24 +02:00
# Gitea Cloudron App
2015-07-29 15:16:45 +02:00
2017-06-02 10:32:24 +02:00
This repository contains the Cloudron app package source for [Gitea](http://gitea.io/).
2015-08-19 09:54:06 -07:00
2015-11-24 13:29:18 -08:00
## Installation
2017-06-02 10:32:24 +02:00
[![Install](https://cloudron.io/img/button.svg)](https://cloudron.io/button.html?app=io.gitea.cloudronapp)
2015-11-24 13:29:18 -08:00
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
```
2017-06-02 10:32:24 +02:00
cloudron install --appstore-id io.gitea.cloudronapp
2015-11-24 13:29:18 -08:00
```
## Building
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
```
2017-06-02 10:32:24 +02:00
cd gitea-app
2015-11-24 13:29:18 -08:00
cloudron build
cloudron install
```
## Testing
2015-11-24 13:59:52 -08: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 13:29:18 -08:00
```
2017-06-02 10:32:24 +02:00
cd gitea-app/test
2015-11-24 13:29:18 -08:00
npm install
2017-06-02 11:20:27 +02:00
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
2015-11-24 13:29:18 -08:00
```
2015-07-29 15:16:45 +02:00