From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 05918138010 for ; Mon, 20 Aug 2012 13:06:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52223E0796; Mon, 20 Aug 2012 13:04:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 244E6E0796 for ; Mon, 20 Aug 2012 13:03:59 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5BBD61B41C4 for ; Mon, 20 Aug 2012 13:03:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 79D64E544D for ; Mon, 20 Aug 2012 13:03:56 +0000 (UTC) From: "Slava Bacherikov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slava Bacherikov" Message-ID: <1344972508.41ffff1307732e465a6ee35436d512dbde7ddb39.bacher09@gentoo> Subject: [gentoo-commits] proj/gentoo-packages:master commit in: / X-VCS-Repository: proj/gentoo-packages X-VCS-Files: README.md X-VCS-Directories: / X-VCS-Committer: bacher09 X-VCS-Committer-Name: Slava Bacherikov X-VCS-Revision: 41ffff1307732e465a6ee35436d512dbde7ddb39 X-VCS-Branch: master Date: Mon, 20 Aug 2012 13:03:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 62237ed6-b062-463f-8994-a837acbf6c69 X-Archives-Hash: c7cc5eb2109aee32478fa35fc5a46915 commit: 41ffff1307732e465a6ee35436d512dbde7ddb39 Author: Slava Bacherikov bacher09 org> AuthorDate: Tue Aug 14 19:28:28 2012 +0000 Commit: Slava Bacherikov bacherikov org ua> CommitDate: Tue Aug 14 19:28:28 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-packages.git;a=commit;h=41ffff13 Update README --- README.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/README.md b/README.md index 52de816..888d836 100644 --- a/README.md +++ b/README.md @@ -1 +1,39 @@ -New version of packages.gentoo.com site +# New version of packages.gentoo.com site + +## Quick install + +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][django_deploy]. + +## Documentation + +Check docs dir + +[django_deploy]: https://docs.djangoproject.com/en/1.4/howto/deployment/wsgi/modwsgi/