GitPod: update readme

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I6f191fbdffacb061d997487935c8df8556bc7a09
pull/3732/head
pedropintosilva 2021-11-26 17:31:39 +01:00
parent cdd00047d1
commit 59bfad4af4
1 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,5 @@
<p align="right"><a href="#gitpod"><img alt="Open in Gitpod" src="https://gitpod.io/button/open-in-gitpod.svg"></a></p>
# Collabora Online
[![irc](https://img.shields.io/badge/IRC-%23cool--dev%20on%20libera-orange.svg)](https://web.libera.chat/?channels=cool-dev)
@ -7,6 +9,7 @@
[![L10n](https://img.shields.io/badge/L10n-Weblate-lightgrey.svg)](https://hosted.weblate.org/projects/collabora-online/)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/CollaboraOnline/online)
**LibreOffice in the Cloud on your own Terms**
![](https://raw.githubusercontent.com/CollaboraOnline/CollaboraOnline.github.io/source/static/images/homepage-image.jpg)
@ -57,4 +60,16 @@ See the corresponding READMEs:
* **ios/README**
* **android/README**
## GitPod
Head over to https://collaboraonline.github.io/post/build-code/ select gitpod from the dropdown and follow the steps.
Interesting things to keep in mind:
- Make sure your browser is not blocking windows/tabs from opening from the gitpod workspace URL (maybe add `*.gitpod.io` to your browser's whitelist)
- The GitPod tasks will run automatically and further instructions will be printed out right in the terminal
- VNC tab will open automatically if not just click in the left icon `Remote explorer` and click `6080`. You will see a tab completly black, that's normal.
- As mentioned in those instructions, do not try to click the URL from the make run out put instead copy that URL and execute `firefox [paste URL here]`
- Head over to the tab where the VNC is opened (black page), you will see Firefox opening there, maximize and have fun.
- You can also run cypress tests via GitPod, for that just prepend `CYPRESS_BROWSER="firefox"` to the desired command. Example: `CYPRESS_BROWSER="firefox" make check` for every test or `CYPRESS_BROWSER="firefox" make check-desktop spec=impress/scrolling_spec.js` for one specific test on desktop
## Enjoy!