Skip to content

LCOGT/mop

Repository files navigation

Microlensing Observation Portal

TOM Toolkit for the LCO microlensing team. We harvest, fit, rank and observe all events in the sky! To join the team, please contact [email protected] and/or [email protected].

Development (w/ Kuberentes)

Install Nix and then enter the development environment:

nix develop --impure

Start a local development K8s cluster and container registry:

ctlptl apply -f ./local-registry.yaml -f ./local-cluster.yaml

Spin up dependencies:

skaffold -m mop-deps run

Start development loop:

skaffold -m mop dev

This will watch source-code files for any changes and re-deploy automatically when they are modified.

The application will be port-forwarded to a port listed in the logs:

...
Deployments stabilized in 13.077 seconds
Port forwarding Service/server in namespace mop, remote port http -> http://127.0.0.1:4503
Listing files to watch...
 - mop
Press Ctrl+C to exit
...

Clean-up

You can simply delete the application specific development cluster to clean everything up:

ctlptl delete -f ./local-cluster.yaml

Build

This project is built automatically by the LCO Jenkins Server. Please see the Jenkinsfile for further details.

Production Deployment

This project is deployed to the LCO Kubernetes Cluster. Please see the LCO Helm Charts Repository for further details.

License

This project is licensed under the GNU GPL v3. Please see the LICENSE file for further details.