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.
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.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
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
To run the web server locally:
$ go run weather.go
Please see the LCO Weather Client Repository.
This project is licensed under the GNU GPL v3 License - see the LICENSE file for details.