Skip to content
Emanuele Tajariol edited this page Aug 11, 2021 · 2 revisions

Creating a geonode project

Project name

Follow the geonode-project README and create a new project with a line like this:

django-admin startproject --template=./geonode-project -e py,sh,md,rst,json,yml,ini,env,sample,properties -n monitoring-cron -n Dockerfile geonode_CLIENTNAME

The project name will be in the form

geonode_[CLIENTNAME]

in this way we'll have the file list inside the project ordered the same way for every project (to sysops it's a good thing).

Repository name

In github create a private repo in the form

[CLIENTCODE]-[CLIENTNAME]-geonode

where

  • CLIENTCODE is the code in the format Cxyz
  • CLIENTNAME may be shortened if needed (Universite De Corse --> UDC is ok)

E.g. a repo name will be

C214-UDC-geonode

When creating the repo in github there's no need to initialize it.

Init repo

cd geonode_CLIENTNAME
git init
git remote add origin [email protected]:geosolutions-it/C214-UDC-geonode.git 
git branch -M main
git add .
git commit -m "Initial commit"
git push -u origin main
Clone this wiki locally