From 74c1fadbd0e7c4d4d1026e3730d6f50b52c567e5 Mon Sep 17 00:00:00 2001 From: bill auger Date: Oct 18 2016 19:47:11 +0000 Subject: fix typos and add dependencies to doc/development.rst --- diff --git a/doc/development.rst b/doc/development.rst index 10a4cb4..0b03ee4 100644 --- a/doc/development.rst +++ b/doc/development.rst @@ -20,9 +20,24 @@ Contributors: Dependencies ------------ -The dependencies of pagure are listed in the file ``requirements.txt`` +Install the build dependencies of pagure: + +:: + + sudo dnf install git python-virtualenv libgit2-devel \ + libjpeg-devel gcc libffi-devel redhat-rpm-config + + +The python dependencies of pagure are listed in the file ``requirements.txt`` at the top level of the sources. +:: + + virtualenv pagure_env + source ./pagure_env/bin/activate + pip install pygit2==.* # e.g. 0.23.* + pip install -r requirements.txt + .. note:: working in a `virtualenv `_ is tricky due to the dependency on `pygit2 `_ @@ -40,7 +55,7 @@ configuration. Create the database scheme:: - ./createdb + ./createdb.py Create the folder that will receive the different git repositories: @@ -53,14 +68,14 @@ Run the server: :: - ./runserver + ./runserver.py If you want to change some configuration key you can create a file, place the configuration change in it and use it with :: - ./runserver -c + ./runserver.py -c For example, create the file ``config`` with in it: @@ -87,7 +102,7 @@ and run the server with: :: - ./runserver -c config + ./runserver.py -c config To get some profiling information you can also run it as: