Databases

Installing PostGIS

Installing with Cloud 66

Installing through Cloud 66 is as simple as a manifest file entry. Refer to our Manifest file documentation for more information.

In order for your manifest file to be picked up, you need a file called manifest.yml to be present within a folder named .cloud66, which is in turn located in the root of your source code, checked into your repository.

[source_repo]/.cloud66/manifest.yml

For Cloud 66 to install PostGIS, your manifest file should contain the following:

production:
    postgresql:
        configuration:
            postgis: true

If you would like to specify versions, it should look something like this:

production:
    postgresql:
        configuration:
        	version: 9.6
            postgis:
                version: 2.3.1

Once your application has been deployed, you can find your PostGIS file in /etc/postgresql/share/contrib/postgis-2.1/postgis.sql on your database server.

More info

Follow this excellent guide if you need more help installing PostGIS.

Previous
Database backup verifiers