Ingen beskrivning

bill-auger dface6e5f6 deleteme - debug traces for pass hash 8 år sedan
alembic 9ebb182cfe Save the changes as we go 8 år sedan
doc bc0554cb86 Make the instance name configurable and reword a little the welcome screen 8 år sedan
ev-server e89a199fb9 Simplify our logging on the @ralph's advice 9 år sedan
fedmsg.d e0a21ed16c Add the config file to initialize the consumer 8 år sedan
files 523fbd4a8a Release 2.6 8 år sedan
milters 5a54a4a239 Fix the milter to get it working 8 år sedan
pagure dface6e5f6 deleteme - debug traces for pass hash 8 år sedan
pagure-ci 6c8123528a Rework a little more pagure-ci 8 år sedan
tests 8624b7194d Fix running the tests in py2 and py3 8 år sedan
webhook-server d1cbf9d8b9 Open a session to the DB for every message received and close it afterward 8 år sedan
.gitignore 0e82cee0e6 Don't track pagure_env (venv) dir (Fixes: 1253) 8 år sedan
LICENSE 96994225ac Add the GPLv2 LICENSE file 10 år sedan
MANIFEST.in 1edf44a551 Include the pagure-ci module in the releases 8 år sedan
README.rst 3441b3c5a7 update README.rst, createdb.py, dev-data.py for python3 8 år sedan
UPGRADING.rst 523fbd4a8a Release 2.6 8 år sedan
createdb.py 3441b3c5a7 update README.rst, createdb.py, dev-data.py for python3 8 år sedan
dev-data.py 3441b3c5a7 update README.rst, createdb.py, dev-data.py for python3 8 år sedan
nosetests 38f510105b Added commit comparison view 8 år sedan
nosetests3 f0ab9ee1e6 Add utility scripts to run the test suite with python3 8 år sedan
pagure_logo.svg 43167e1e09 update the logo 9 år sedan
requirements-fedora.txt 1a932de7a7 Add binaryornot to the list of dependencies 9 år sedan
requirements.txt eba37ec85c Fix typo in the requirements.txt file 8 år sedan
rundocserver.py f8556c5a0f Add a rundocserver script allowing to run the documentation server 9 år sedan
runserver.py 94ab5a12c8 Setup the PAGURE_CONFIG env variable before importing pagure's app 8 år sedan
runtests.sh 51656a4f77 Undo specifying a config file to run the tests and just bail on jenkins 8 år sedan
runtests3.sh f0ab9ee1e6 Add utility scripts to run the test suite with python3 8 år sedan
setup.py 15aa414192 Update the setup.py 8 år sedan
tests_requirements.txt 1d397ea33a No space between name and version 9 år sedan

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 python3-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