Skip to content

Commit

Permalink
Update README.md - Fixing commands (#504)
Browse files Browse the repository at this point in the history
This pull request introduces a minor modification to the README file, specifically in the template ZIP URL for download. The current README suggests using GN_VERSION as the master branch for download. However, based on GitHub's documentation regarding source code archives (GitHub Docs), it is recommended to use 'heads' instead of 'tags' when downloading from a branch.

Changes Made:

Updated the template ZIP URL to use 'heads' instead of 'tags' when specifying the branch for download.
References:

GitHub Docs - Downloading Source Code Archives ( https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives) 

This change ensures that users who want to download from the branch will have the correct URL format.
  • Loading branch information
erwaen authored Jan 8, 2024
1 parent 9eb2bbf commit 3217655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GeoNode template project. Generates a django project with GeoNode support.
```bash
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
django-admin startproject --template=https://github.com/GeoNode/geonode-project/archive/refs/heads/$GN_VERSION.zip -e py,sh,md,rst,json,yml,ini,env,sample,properties -n monitoring-cron -n Dockerfile project_name ~/project_name
```

```bash
Expand Down

0 comments on commit 3217655

Please sign in to comment.