g3w-suite / g3w-suite-docker

Run G3W-SUITE stack with docker-compose
https://g3w-suite.readthedocs.io/en/latest/docker.html
31 stars 33 forks source link

Block in installation #94

Closed abrousseau89 closed 1 year ago

abrousseau89 commented 1 year ago

Checklist

Motivation

Hello,

I am stuck in the installation by following the documentation

on the line :

set database, media root and session cookies name:

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': '<db_name>',
        'USER': '<db_user>',
        'PASSWORD': '<db_user_password>',
        'HOST': '<db_host>',
        'PORT': '<db_port>',
    }
}

...

DATASOURCE_PATH = '<static_path_to_gis_data_source>'

...

MEDIA_ROOT = '<path_to_media_root>'

...

SESSION_COOKIE_NAME = '<unique_session_i`

I don't know what to put in the variables?

so i took this version :

g3w-suite-docker/g3w-suite/settings_docker.py

i copy past all after the line :

G3WADMIN_PROJECT_APPS = []

but after i can't use paver install

Build failed: Unknown task: install

Thanks

Suggested solution

i install paver ...

and after i have a paver directory in home/user/g3w-admin/g3w-admin/base/settings/

Did I miss something ?

Alternatives considered

No response

wlorenzetti commented 1 year ago

Hi @abrousseau89, for deploy (and/or use for developing) I suggest you docker version of G3W-SUITE: https://github.com/g3w-suite/g3w-suite-docker try to follow the READ instruction.

Your message is a bit confusing because it is not clear whether you are using the stand alone version or the dockerized version since you mention settings_docker.py.

I'll move this issue to https://github.com/g3w-suite/g3w-suite-docker repository.

abrousseau89 commented 1 year ago

I completely reinstalled the server as well as Docker and Docker-Compose then did the installation and everything worked.

Thanking you.