GeoNode / geonode-project

A django template project for creating custom GeoNode projects.
http://geonode.org
79 stars 173 forks source link

Quick Docker Start references missing GitHub zip #497

Open dgreenslade opened 11 months ago

dgreenslade commented 11 months ago

When running through the docs in Quick Docker Start, the django-admin startproject fails because GitHub returns a 404 for the relevant archive.

Command:

GN_VERSION=master

django-admin startproject --template=https://github.com/GeoNode/geonode-project/archive/refs/tags/$GN_VERSION.zip -e py,sh,md,rst,json,yml,ini,env,sample,properties -n monitoring-cron -n Dockerfile project_name ~/project_name

Error:

CommandError: couldn't download URL https://github.com/GeoNode/geonode-project/archive/refs/tags/master.zip to master.zip: HTTP Error 404: Not Found

Abdelrhman-Rayis commented 9 months ago

update- Hey @dgreenslade, Quick question: did you manage to fix that issue? I tried something like this: GN_VERSION=4.1.3; django-admin startproject --template=https://github.com/GeoNode/geonode-project/archive/refs/tags/$GN_VERSION.zip my_geonode ~/my_geonode. Does that seem right to you?

Thanks for any tips!