diff --git a/README.rst b/README.rst index 236972b..fbbeaeb 100644 --- a/README.rst +++ b/README.rst @@ -26,6 +26,20 @@ Get it running * Retrieve the sources:: git clone git://github.com/pypingou/pagure + cd pagure + + +* Install dependencies + + * development virtualenv:: + + dnf install libgit2-devel + virtualenv devel + devel/bin/pip install -r requirements.txt + + * Fedora RPMs:: + + dnf install $(cat requirements-fedora.txt) * Create the folder that will receive the projects, forks, docs and tickets' @@ -36,19 +50,26 @@ Get it running * Create the inital database scheme:: + # development virtualenv only + source devel/bin/activate + python createdb.py * Run it:: + # development virtualenv only + source devel/bin/activate + ./runserver.py * To get some profiling information you can also run it as:: - ./runserver.py --profile + # development virtualenv only + source devel/bin/activate + ./runserver.py --profile This will launch the application at http://127.0.0.1:5000 - diff --git a/requirements-fedora.txt b/requirements-fedora.txt new file mode 100644 index 0000000..6543eb7 --- /dev/null +++ b/requirements-fedora.txt @@ -0,0 +1,11 @@ +python-arrow +python-bleach +python-flask +python-flask-wtf +python-jinja2 +python-markdown +python-openid-cla +python-openid-teams +python-redis +python-sqlalchemy +python-straight-plugin