The coordinates reference system registry for solar bodies
To install Planet CRS Registry, run this command in your terminal:
$ docker pull pdssp/planet_crs_registry # get the image
The sources for Planet CRS Registry can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/pdssp/planet_crs_registry
Or download the tarball:
$ curl -OJL https://github.com/pdssp/planet_crs_registry/tarball/master
Once you have a copy of the source, you can install it with:
$ make # install in the system root
$ make user # or Install for non-root usage
The sources for Planet CRS Registry can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/pdssp/planet_crs_registry
Or download the tarball:
$ curl -OJL https://github.com/pdssp/planet_crs_registry/tarball/master
Once you have a copy of the source, you can install it with:
$ make prepare-dev
$ source .planet_crs_registry # Use the virtual environment
$ make
$ git clone https://github.com/pdssp/planet_crs_registry
$ cd planet_crs_registry
$ make prepare-dev
$ source .planet_crs_registry
$ make install-dev
To get more information about the preconfigured tasks:
$ make help
To use Planet CRS Registry in a project:
planet_crs_registry
$ docker pull pdssp/planet_crs_registry # get the image
$ docker run -p 8080:8080 pdssp/planet_crs_registry
$ mkdir -p /tmp/conf
$ cd /tmp/conf
$ mkcert -cert-file cert.pem -key-file key.pem 0.0.0.0 localhost 127.0.0.1 ::1
$ vi /tmp/conf/planet_crs_registry.conf
And set the configuration file as follows:
[HTTPS]
host = 0.0.0.0
port = 5000
ssl_keyfile = key.pem
ssl_certfile = cert.pem
$ docker run --name=pdssp-planet-crs-registry -p 5000:5000 -v /tmp/conf:/conf pdssp/planet-crs-registry
$ mkdir -p /tmp/conf
$ cd /tmp/conf
$ mkcert -cert-file cert.pem -key-file key.pem 0.0.0.0 localhost 127.0.0.1 ::1
$ vi /tmp/conf/planet_crs_registry.conf
And set the configuration file as follows:
[HTTP]
host = 0.0.0.0
port = 8080
[HTTPS]
host = 0.0.0.0
port = 5000
ssl_keyfile = key.pem
ssl_certfile = cert.pem
$ docker run --name=pdssp-planet-crs-registry -p 5000:5000 -p 8080:8080 -v /tmp/conf:/conf pdssp/planet-crs-registry
$ docker stop pdssp-planet-crs-registry
$ docker start pdssp-planet-crs-registry
$make tests
π€ Jean-Christophe Malapert
Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/pole-surfaces-planetaires/planet_crs_registry/issues). You can also take a look at the [contributing guide](https://github.com/pole-surfaces-planetaires/planet_crs_registry/blob/master/CONTRIBUTING.rst)
This project is [GNU Lesser General Public License v3](https://github.com/pole-surfaces-planetaires/planet_crs_registry/blob/master/LICENSE) licensed.