Skip to main content

G3W Configuration Scripts

This repository contains the scripts to quickly configure a G3W-SUITE instance.

Installation

Install the module via pip:

pip install g3w-config-scripts

Usage

Development or Production Setup

g3w_dev_setup configure.properties

Where the configuration file is a properties file with the following structure:

SUITE_REPO_TAG: v3.8.0
SUITE_DOCKER_IMAGE: g3wsuite/g3w-suite:v3.8.x
MY_NEW_BRANCH: v3.8.0_myniceproject
SUITE_SHARED_VOLUME: /myniceproject/
DEBUG: True
FRONTEND: False

# optional plugin setup. Comment out completely to skip
PLUGIN_APP_NAME=myplugin
PLUGIN_REPO=https://github.com/myname/myplugin.git

WEBGIS_PUBLIC_HOSTNAME: v38.g3wsuite.it
G3WSUITE_POSTGRES_PASS: myPgPasswd
PG_SERVICE_CONF: [service@111.111.11.111]|host=111.111.11.111user=myuser|password=mypwd|dbname=mydb|port=5432

Configuration generation

Don't have a config.properties file? No problem, you can generate one with the following command:

g3w_config_gen

This will generate a config.properties file in the current directory based on the answers given by the user.

Branding

Place yourself in the same folder in which you ran the setup scripts and just run the branding module:

g3w_branding

You will be asked for all the possible branding parameters.

Release files for g3wsuite-config-scripts 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for g3wsuite-config-scripts 0.6.3
File Size Uploaded
g3wsuite_config_scripts-0.6.3.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for g3wsuite-config-scripts 0.6.3
File Interpreter ABI Platform
g3wsuite_config_scripts-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 29.2 kB

Release files / g3wsuite_config_scripts-0.6.3.tar.gz

Download URL g3wsuite_config_scripts-0.6.3.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d3a8a9c9ba8cde30998f82639e776a26bfcb5232f43ab707aa642296c6e86b05
BLAKE2b-256 checksum
How to use checksums
834d22310bfa3ec6bd21abe883966e47b3d2fdae761d97f42d3086981cf27de6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / g3wsuite_config_scripts-0.6.3-py3-none-any.whl

Download URL g3wsuite_config_scripts-0.6.3-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3d3f9b2e9212c2b27ac9e04e4a3a8601183c3608cfd9987b22aa5a68c7d9811
BLAKE2b-256 checksum
How to use checksums
cffddcb8ebb65a485b246a4d40c72b38cfdea9e840cdde81fe21756426771ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.6.3 This release

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page