How to run ungit on Cloud9
Prerequisites
- An account on Cloud9 (supports GitHub accounts)
- A VM on Cloud9
- node.js on the VM
- A git repository
- Watching the intro video of ungit
Installation
- Open your terminal
- Run
npm install -g ungit
- Run
ungit --urlBase http://$IP --port $PORT
$IP
is mapped to0.0.0.0
$PORT
is mapped to8080
- Open your browser and navigate to
https://<vm-name>-c9-<username>.c9.io/
- you can get the values from the ide-url which looks like
https://ide.c9.io/<username>/<vm-name>
- you can get the values from the ide-url which looks like
- Enter the path to your repository, starting with
/home/ubuntu/
- Alternatively you can open the direct link
https://<vm-name>-c9-<username>.c9.io/#/repository?path=/home/ubuntu/<path>
- Have fun with ungit!
- ungit have a lot of options that might be handy, i.e. gerrit support
Known Issues
Cloud9 only have a single port that is exposed to the internet which is internally set to 8080. For some reason it’s not possible to expose multiple services at once which means you have to stop any other web application before you can launch ungit.
Tweetcomments powered by Disqus