aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-14 22:28:28 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-14 22:28:28 +0300
commit41ffff1307732e465a6ee35436d512dbde7ddb39 (patch)
treef9db3026a3b533a4c15b05b562a3c4282037a66f
parentAdd link to maintainers packages in changelog (diff)
downloadgentoo-packages-41ffff1307732e465a6ee35436d512dbde7ddb39.tar.gz
gentoo-packages-41ffff1307732e465a6ee35436d512dbde7ddb39.tar.bz2
gentoo-packages-41ffff1307732e465a6ee35436d512dbde7ddb39.zip
Update README
-rw-r--r--README.md40
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/