Нема описа

Pierre-Yves Chibon 8e02d4283f Fix how the web-hook server determine the project and its username пре 8 година
alembic 1c6b975e07 modify alembic script since the notification in issues пре 8 година
doc c5c8d46267 Fix docs and toggle of Pagure CI plugin, add pagure_ci_token пре 8 година
ev-server e89a199fb9 Simplify our logging on the @ralph's advice пре 8 година
fedmsg.d e0a21ed16c Add the config file to initialize the consumer пре 8 година
files 3c85bbcaed Use the proper list of allowed prefix пре 8 година
milters 5a54a4a239 Fix the milter to get it working пре 8 година
pagure 5bc780df24 Add a conf key for bootstrap urls пре 8 година
pagureCI 07d8099ff7 Fix styling of exception пре 8 година
tests 5803a799cb Add unit-tests checking when the new issue button is shown/hidden пре 8 година
webhook-server 8e02d4283f Fix how the web-hook server determine the project and its username пре 8 година
.gitignore 8c310f62ab Custom SMTP settings пре 8 година
LICENSE 96994225ac Add the GPLv2 LICENSE file пре 10 година
MANIFEST.in bc40d938a9 Include the UPGRADING.rst file in the release tarball пре 8 година
README.rst a4a4c1a799 Allow <span> tags so that the README shows fine пре 9 година
UPGRADING.rst 4912c93947 Release 2.3 пре 8 година
createdb.py 1f6bd5001e Figure a way to populate the ACL table from the configuration file by running createdb.py пре 9 година
dev-data.py 779aa73862 pagure development data пре 8 година
nosetests 38f510105b Added commit comparison view пре 8 година
pagure_logo.svg 43167e1e09 update the logo пре 8 година
requirements-fedora.txt 1a932de7a7 Add binaryornot to the list of dependencies пре 8 година
requirements.txt 19c574788b Fix extra POST request and code cleaning пре 8 година
rundocserver.py f8556c5a0f Add a rundocserver script allowing to run the documentation server пре 9 година
runserver.py 94ab5a12c8 Setup the PAGURE_CONFIG env variable before importing pagure's app пре 8 година
runtests.sh fe50171375 Rename progit to pagure пре 9 година
setup.py 3f88c94129 Add doc for development and configuring pagure CI пре 8 година
tests_requirements.txt 1d397ea33a No space between name and version пре 9 година

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