Las Cumbres Observatory Weather API Server
This is the source code for the Las Cumbres Observatory Weather API Server,
which is deployed at: https://weather-api.lco.global/. The API is documented
on the LCO Developers Documentation Website.
Production Deployment
This project is built automatically by the LCO Jenkins Server.
Please see the Jenkinsfile for further details.
This project is deployed to the LCO Kubernetes Cluster. Please see the
LCO Helm Charts Repository for
further details.
Getting Started
These instructions will get you a copy of the project up and running on your
local machine for development and testing purposes.
Weather Server
This will build a Docker image named weatherserver
, containing the server code:
$ docker build --pull -t my-weather-server:latest .
This Docker image can be run by executing this command:
$ docker run --rm -it -p 8080:8080 my-weather-server:latest
Local development
To run the web server locally:
$ go run weather.go
Weather Client
Please see the LCO Weather Client Repository.
License
This project is licensed under the GNU GPL v3 License - see the
LICENSE file for details.