https://github.com/joedborg/k8s-operator-coder
Coder Kubernetes charm
https://github.com/joedborg/k8s-operator-coder
Last synced: 11 months ago
JSON representation
Coder Kubernetes charm
- Host: GitHub
- URL: https://github.com/joedborg/k8s-operator-coder
- Owner: joedborg
- License: apache-2.0
- Created: 2021-06-14T19:33:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-24T14:49:58.000Z (almost 5 years ago)
- Last Synced: 2025-02-23T07:46:23.839Z (over 1 year ago)
- Language: Python
- Size: 18.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coder
Run Visual Studio Code on any machine, anywhere and access it in the browser.
## Usage
First, deploy the coder charm and the ingress charm:
juju deploy coder
juju deploy nginx-ingress-integrator ingress
Then, relate the two in order to get ingress to the coder charm:
juju add-relation coder ingress
We need to set a password to access the web UI with:
juju config coder password="foobar"
Optionally, we can set a custom ingress address:
juju config coder external-hostname="mycode.juju"
If not set, this will default to `coder.juju`.
## Developing
Create and activate a virtualenv with the development requirements:
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements-dev.txt
## Building
charmcraft build
## Testing
Testing is done via tox:
tox