Skip to content

moovida/g3wsuite_config_scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: [[email protected]]|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.

About

Some simple scripts to quiclkly setup a g3w-suite

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages