Skip to main content

Configuration scripts for the g3w suite setup

Project description

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 askef for all the possible branding parameters.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g3wsuite_config_scripts-0.5.0.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

g3wsuite_config_scripts-0.5.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file g3wsuite_config_scripts-0.5.0.tar.gz.

File metadata

  • Download URL: g3wsuite_config_scripts-0.5.0.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for g3wsuite_config_scripts-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9e31106e3c356b763f1a949f64e132cdab41bb9f75ff9d9c6d90acb6c45910fb
MD5 9e46a5353c541423426e7a7ccfaa4547
BLAKE2b-256 c975a5d2c273225dcdc8a6345b101c9d7f5f4e05f3a55a676708f754e2afd455

See more details on using hashes here.

File details

Details for the file g3wsuite_config_scripts-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for g3wsuite_config_scripts-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab14be3e8d2344858ef474bc4aee893b0fb558ddaf58d5242e870d673758afb
MD5 5749437daf4d03001fa25f1d39616817
BLAKE2b-256 d8419b524ddc3ee1ca4ce219a64b2bb5cec3d4a3bfb81be8605414496c312b69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page