mirror of
https://git.cloudron.io/cloudron/gitea-app.git
synced 2024-11-10 18:21:03 +00:00
36 lines
996 B
Markdown
36 lines
996 B
Markdown
# Gitea Cloudron App
|
|
|
|
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.gitea.cloudronapp)
|
|
|
|
or using the [Cloudron command line tooling](https://cloudron.io/references/cli.html)
|
|
|
|
```
|
|
cloudron install --appstore-id io.gitea.cloudronapp
|
|
```
|
|
|
|
## Building
|
|
|
|
The app package can be built using the [Cloudron command line tooling](https://cloudron.io/references/cli.html).
|
|
|
|
```
|
|
cd gitea-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 gitea-app/test
|
|
|
|
npm install
|
|
PATH=$PATH:node_modules/.bin USERNAME=<cloudron username> PASSWORD=<cloudron password> mocha --bail test.js
|
|
```
|
|
|