From 99f65eb7c9c2fc37977ad5dc00160fec288c7c89 Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Aug 28 2017 21:53:10 +0000 Subject: recommend installing deps using dnf builddep Fixes #74. The `pip install` command currently fails unless you have gcc and swig and other tools installed. At this point it's easier to recommend just installing the dependencies using dnf, rather than installing everything needed to set up a virtualenv and then setting up the virtualenv. This also has the advantage of more closely matching how WaiverDB is run in production (which is using Fedora packaged dependencies rather than ones downloaded and built from PyPI). --- diff --git a/README.md b/README.md index dbc4352..85c3623 100644 --- a/README.md +++ b/README.md @@ -6,16 +6,9 @@ against test results. ## Quick development setup -Set up a python virtualenv: +Install dependencies: - $ sudo dnf install python-virtualenv - $ virtualenv env_waiverdb - $ source env_waiverdb/bin/activate - $ pip install -r requirements.txt - -Install the project: - - $ python setup.py develop + $ sudo dnf builddep waiverdb.spec Run the server: