INSTALL Open Gauquelin Database
This page describes how to run this web site on your local machine.
The procedure describes how to do on a Linux machine (tested on Debian 10 and Ubuntu 20.4).
Normally, it should also work on Windows and MacOS, but has never been tested.
The procedure describes how to do on a Linux machine (tested on Debian 10 and Ubuntu 20.4).
Normally, it should also work on Windows and MacOS, but has never been tested.
Prerequisites
You need to have installed on your machine :- The Go programming language (version 1.17 or higher) - See go documentation.
- Postgresql database management system (version 12 or higher) - See postgresql documentation
- Postgrest web server (version 8.0 or higher) - See postgrest documentation
Install the database
There are two solutions:- Download the postgresql dump and import it on your local postgresql.
- Generate the database from scratch using g5 program - see page about g5 installation.
Install openg
openg
is the name of the program which runs current site and permits to browse the database.
Clone the repository:
git clone --depth=1 https://github.com/tig12/openg.gitNote:
--depth=1
is optional, only useful to save up disk space and bandwidth.
TODO finish doc