Packaging - Geode/vagrant_imio_geonode GitHub Wiki
Debian packaging scripts for GeoNode
This repository contains the scripts used to build the .deb (Ubuntu) package for GeoNode. If you are interested in modifying GeoNode itself you may find http://github.com/GeoNode/geonode more relevant.
Building
Fast way ->
- sudo apt-get -y install debhelper devscripts git-buildpackage
- paver deb
Custom way -> To produce a .deb package which can be redistributed:
-
Install the debian packaging tools::
apt-get install debhelper devscripts
-
Create a directory called geonode-deb
-
Create a debian subdirectory containing a copy of https://github.com/Geode/geonode/tree/master/package/debian
-
Create a GeoNode-{version}.tar.gz (tar -czvf) archive from: 1. A folder containing a copy of : https://github.com/Geode/geonode/tree/master/package 2. Inside the same folder, a copy of the archive resulting of python setup.py sdist --formats=zip of geonode app
The result look like this: geonode-deb/ + debian/ + GeoNode-{version}.tar.gz
-
Run the debuild tool to build the package::
debuild -uc -us -A
-
geonode-{version}.deb will be produced in the parent directory (one level above the directory where you cloned this project).