From 3036959f4327b5545a10f77966a68d39987caa36 Mon Sep 17 00:00:00 2001 From: Gregory Meno Date: Tue, 10 Mar 2015 09:02:22 -0400 Subject: [PATCH] doc: add virtualenv and requirements Signed-off-by: Gregory Meno --- README.md | 42 ++++++------------------------------------ requirements.txt | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 36 deletions(-) create mode 100644 requirements.txt diff --git a/README.md b/README.md index cb0147f..fa4d228 100644 --- a/README.md +++ b/README.md @@ -1,41 +1,11 @@ USM is an application that manages Ceph and Gluster -REQUIREMENTS ------------- - -python >= 2.7 - -django-celery==3.1.16 - -django-extensions==1.5.0 - -django-filter==0.9.2 - -djangorestframework==3.0.5 - -celery==3.1.17 - -Django==1.7.5 - -paramiko=1.15.1 - -redis = 2.8.18 - -python-redis=2.10.3 - -salt-master =2014.7.1 - -postgresql93=9.3.6 - -postgresql93-server=9.3.6 - -postgresql93-contrib=9.3.6 - -postgresql93-libs=9.3.6 - -postgresql93-devel=9.3.6 +INSTALL REQUIREMENTS +-------------------- -psycopg2=2.6(This needs to installed after postgress installation) +virtualenv env/ +source env/bin/activate +pip install -r requirements.txt SETUP @@ -134,4 +104,4 @@ python manage.py runserver : Access the usm application using - -http://IPADDRESS:PORT/ \ No newline at end of file +http://IPADDRESS:PORT/ diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..17b3781 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,33 @@ +python >= 2.7 + +django-celery==3.1.16 + +django-extensions==1.5.0 + +django-filter==0.9.2 + +djangorestframework==3.0.5 + +celery==3.1.17 + +Django==1.7.5 + +paramiko==1.15.1 + +redis==2.10.3 + +python-redis==2.10.3 + +salt-master==2014.7.1 + +postgresql93==9.3.6 + +postgresql93-server==9.3.6 + +postgresql93-contrib==9.3.6 + +postgresql93-libs==9.3.6 + +postgresql93-devel==9.3.6 + +psycopg2==2.6