Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

SIT-Jura/crdppf_old_NE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRDPPF Portal

Repértoire privé

cd

Répertoire instance principale

cd /var/www/vhosts/sitj/private

Téléchargé le projet GitHub

git clone git@github.com:SIT-Jura/crdppf.git
cd crdppf

Télécharger crdppf_core

git clone git@github.com:sitn/crdppf_core.git
cd crdppf_core
git submodule update --init
cd ..

After the installation put the directoriy crdpp in W

chmod -R o+w .

Build

make -f <user>.mk build

Run

docker-compose up -d

Logs

docker-compose logs -f --tail=0 geoportal

Stop

docker-compose down

Upgrade and update crdppf_core

To upgrade crdppf_core version of the project go into the crdppf_core folder of your project Make sure your on the master branch or the branch you want to be on:

to get the list of your local branches: git branch

change on master if needed:

git checkout master

or create a new branch of your choice if you don't want to overwrite the master:

git checkout -b [mynewbranch]

Update and upgrade:

cd crdppf_core
git fetch
git checkout <tag>
git submodule sync
git submodule update --init

is the version of crdppf_core (ex: 1.0.7)

Pyramid oereb

Ajout d'une nouvelle restriction, ouvrir le fichier

Dockerfile_geoportal

Prendre exemple sur la ligne 26

create_standard_model -c ReservedAreas -g POLYGON -p /usr/local/lib/python3.6/dist-packages/pyramid_oereb/standard/models -k TRUE

Sans oublier de mettre un \ si nécessaire à la fin des lignes (sauf pour la dernière)

Packages

No packages published

Languages

  • Python 32.8%
  • Makefile 28.2%
  • Mako 18.4%
  • HTML 14.8%
  • Shell 5.8%