/pgweb

Mirror of the code behind www.postgresql.org

Primary LanguageHTML

The PostgreSQL website

The code in this repository is what backs the website at www.postgresql.org.

The authoritative repository for this code is on git.postgresql.org, but it's free to be mirrored anywhere.

Technology

The website code is written in Python using the Django framework. Not surprisingly, PostgreSQL is used as the database. Further details about the code and technology can be found in the different documents in the docs directory.

The website also uses the Bootstrap CSS framework as well as the Font Awesome icon library.

Content

A fair amount of the content pages of the website are just static HTML templates. If you wish to edit these, you only need to look at the templates/pages/ subdirectory. The content in here is simple HTML, and can be edited as such.

Contributing

We appreciate all (most?) contributions to this project. If you wish to contribute, be sure to sign up to the pgsql-www mailinglist for any discussions, and post any suggested patches there. If you want to make any major changes, be sure to have discussed those on the list first.

Setting up a local instance

To set up a local instance for testing or building patches, please see the docs/dev_install.rst document.

Licence

The code for the website is licensed under The PostgreSQL Licence, which is closely related to the BSD licence.

Django is released under its BSD Licence.

Bootstrap is released under the MIT Licence. and includes the following software as well:

Font Awesome has a combination of licences:

The code of Font Awesome is released under the MIT Licence. The icons of Font Awesome are released under the CC BY 4.0 Licence. The fonts of Font Awesome are released under the SIL OFL 1.1 License.

normalize.css uses the MIT License