First you should install all required dependencies, check this in Requirements file
Then you need configure it, for this create configuration file local_settings.py
in gpackages/main/ dir , for example you could see gpackages/main/local_settings.py.example file.
After creating configuration you need create tables in your database, for this execute these commands:
$ cd gpackages
$ ./manage.py syncdb
$ ./manage.py migrate
Then maybe you want collect first packages data, for this you need execute that command:
$ ./manage.py scanpackages -a
This will collect info about all packages in all overlays. If you want check what overlays available, then type this command:
$ ./manage.py listrepos
After first scanning you should also add info about use flags and licenses text You could do this with such commands:
$ ./manage.py scanusedesc
$ ./manage.py scanlicensetext
Now you could run demo web-server:
$ ./manage.py runserver
For deployment check django deployment docs.
Check docs dir