Skip to content

Commit

Permalink
delete back folder
Browse files Browse the repository at this point in the history
  • Loading branch information
maltaesousa committed Jan 23, 2024
1 parent 27caf75 commit 6673227
Show file tree
Hide file tree
Showing 116 changed files with 5,354 additions and 2,490 deletions.
22 changes: 11 additions & 11 deletions back/.dockerignore → .dockerignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
*.pyc
*.pyo
*.mo
*.db
*.css.map
*.egg-info
.cache
__pycache__.venv
Dockerfile
./files/*
.env
*.pyc
*.pyo
*.mo
*.db
*.css.map
*.egg-info
.cache
__pycache__.venv
Dockerfile
./files/*
.env
35 changes: 19 additions & 16 deletions back/.env.sample → .env.sample
Original file line number Diff line number Diff line change
@@ -1,43 +1,46 @@
# Do not set this to True if your server is exposed to internet!
DEBUG=False

PGDATABASE=geoshop
PGUSER=geoshop
PGHOST=host.docker.internal
PGPORT=5432
PGPASSWORD=geoshop
PGSCHEMA=geoshop

MEDIA_ROOT=/mnt/geoshop_data
MEDIA_URL=https://sitn.ne.ch/geoshop2_media/

# DOCKER_HOST=ssh://[email protected]
DOCKER_BACK_PORT=5004
DOCKER_FRONT_PORT=5005
DOCKER_BASE=sitn/geoshop-dev
COMPOSE_PROJECT_NAME=geoshop-dev
# The folder where the geodata will be uploaded
MEDIA_ROOT=./files
# A link to public images used in product and metadata
MEDIA_URL=https://example.com/geoshop_media/

ROOTURL=/geoshop2_api
ALLOWED_HOST=localhost,127.0.0.1,proxy.example.com
# Base URL of the api
ROOTURL=

DEFAULT_FROM_EMAIL=[email protected]
ADMIN_EMAIL_LIST=[email protected]
EMAIL_HOST=smtp.example.com
ADMIN_EMAIL_LIST=[email protected]

# This is used for CORS and to generate links in email templates
FRONT_URL=localhost:4200
FRONT_HREF=/geoshop
FRONT_PROTOCOL=http
CSRF_COOKIE_DOMAIN=localhost
LOGGING_LEVEL=DEBUG
LOGGING_LEVEL=INFO

# Generate this key with Django tools
SECRET_KEY=GenerateOneSecretKey
ADMIN_PASSWORD=Test1234
EXTRACT_USER_PASSWORD=Test1234

API_BASE_URL=http://example.com
AUTO_LEGEND_URL=http://example.com/mapserv?FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=
# If you plan to manage secret metadata, provide your intranet legend service
INTRA_LEGEND_URL=https://example.com/mapserv_proxy?ogcserver=source+for+image%2Fpng&FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&LAYER=

# Only for testing purpose
EMAIL_TEST_TO=[email protected]
GEOSHOP_DATA=/path/to/geoshop_data/folder

# For non-docker, if you want GDAL in you venv
# GDAL_IN_VENV=True
# GDAL_DATA=path\to\.venv\Lib\site-packages\osgeo\data\gdal
# For non-docker, uncomment this (only tested in Windows)
#GDAL_PATH="C:\Applications\Mapserver72_x64\bin"
#GDAL_LIBRARY_PATH="C:\Applications\Mapserver72_x64\bin\gdal300.dll"
#GEOS_LIBRARY_PATH="C:\Applications\Mapserver72_x64\bin\geos_c.dll"
111 changes: 102 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,104 @@
.vscode
back/.idea/
front/.idea/
front/node_modules/
apache/app.conf
back/files/*
logs/*
!logs/.gitkeep
# Created by https://www.gitignore.io

### OSX ###
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### Python ###
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Translations
*.mo
*.pot

# Sphinx documentation
docs/_build/

# PyBuilder
target/


### Django ###
*.log
*.pot
*.pyc
__pycache__/
local_settings.py

.env
.env.local
.env.dev
.env.prod
.env.prepub
db.sqlite3
.venv
venv
settings.py

# collected static files
static/*
!static/.gitkeep

front/debug.log
# local dev files
files/*
!files/.gitkeep
File renamed without changes.
12 changes: 0 additions & 12 deletions CONTRIBUTING.md

This file was deleted.

File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 6673227

Please sign in to comment.