Sen descrición

Pierre-Yves Chibon 447dc6d5fc Release 2.2.2 %!s(int64=8) %!d(string=hai) anos
alembic ab59c1516e Add an alembic migration file to update the DB constraints %!s(int64=8) %!d(string=hai) anos
doc 447dc6d5fc Release 2.2.2 %!s(int64=8) %!d(string=hai) anos
ev-server e89a199fb9 Simplify our logging on the @ralph's advice %!s(int64=8) %!d(string=hai) anos
fedmsg.d e77021141d Add a sample fedmsg configuration file %!s(int64=9) %!d(string=hai) anos
files 447dc6d5fc Release 2.2.2 %!s(int64=8) %!d(string=hai) anos
milters 5a54a4a239 Fix the milter to get it working %!s(int64=8) %!d(string=hai) anos
pagure 447dc6d5fc Release 2.2.2 %!s(int64=8) %!d(string=hai) anos
tests c3b81eca2f Split out the commits page to a template of its own %!s(int64=8) %!d(string=hai) anos
webhook-server 9bd1d88a91 The webhook server must always be running %!s(int64=9) %!d(string=hai) anos
.gitignore 559ef6d59d Ignore the _build folder result of the sphinx build of the documentation %!s(int64=9) %!d(string=hai) anos
LICENSE 96994225ac Add the GPLv2 LICENSE file %!s(int64=10) %!d(string=hai) anos
MANIFEST.in bc40d938a9 Include the UPGRADING.rst file in the release tarball %!s(int64=8) %!d(string=hai) anos
README.rst a4a4c1a799 Allow <span> tags so that the README shows fine %!s(int64=8) %!d(string=hai) anos
UPGRADING.rst 4cc33047df Release 2.2 %!s(int64=8) %!d(string=hai) anos
createdb.py 1f6bd5001e Figure a way to populate the ACL table from the configuration file by running createdb.py %!s(int64=9) %!d(string=hai) anos
nosetests 7b7ae8dfd5 Add a local copy of the nosetests script %!s(int64=9) %!d(string=hai) anos
pagure_logo.svg 43167e1e09 update the logo %!s(int64=8) %!d(string=hai) anos
requirements-fedora.txt 1a932de7a7 Add binaryornot to the list of dependencies %!s(int64=8) %!d(string=hai) anos
requirements.txt 1a932de7a7 Add binaryornot to the list of dependencies %!s(int64=8) %!d(string=hai) anos
rundocserver.py f8556c5a0f Add a rundocserver script allowing to run the documentation server %!s(int64=9) %!d(string=hai) anos
runserver.py 94ab5a12c8 Setup the PAGURE_CONFIG env variable before importing pagure's app %!s(int64=8) %!d(string=hai) anos
runtests.sh fe50171375 Rename progit to pagure %!s(int64=9) %!d(string=hai) anos
setup.py 4d1da10433 Release 0.1.32 %!s(int64=9) %!d(string=hai) anos
tests_requirements.txt 1d397ea33a No space between name and version %!s(int64=9) %!d(string=hai) anos

README.rst

Pagure
======

:Author: Pierre-Yves Chibon


Pagure is a git-centered forge, python based using pygit2.

With pagure you can host your project with its documentation, let your users
report issues or request enhancements using the ticketing system and build your
community of contributors by allowing them to fork your projects and contribute
to it via the now-popular pull-request mechanism.


Homepage: https://pagure.io/pagure

See it at work: https://pagure.io


Playground version: https://stg.pagure.io



Get it running
==============

* Install the needed system libraries::

sudo dnf install git python-virtualenv libgit2-devel \
libjpeg-devel gcc libffi-devel redhat-rpm-config

.. note:: Do note the version of libgit2 that you install, for example
in ``libgit2-0.23.4-1`` you need to keep in mind the ``0.23``

* Retrieve the sources::

git clone https://pagure.io/pagure.git
cd pagure

* Install dependencies

* create the virtualenv::

virtualenv pagure_env
source ./pagure_env/bin/activate

* Install the correct version of pygit2::

pip install pygit2==.*

So in our example::

pip install pygit2==0.23.*

* Install the rest of the dependencies::

pip install -r requirements.txt


* Create the folder that will receive the projects, forks, docs, requests and
tickets' git repo::

mkdir {repos,docs,forks,tickets,requests}


* Create the inital database scheme::

python createdb.py


* Run it::

./runserver.py


* To get some profiling information you can also run it as::

./runserver.py --profile


This will launch the application at http://127.0.0.1:5000