Commit 3df7feb2 by Edward Zarecor

Updates to install using setup.py and update some deps

parent f6903b6a
......@@ -37,15 +37,16 @@ HARSTORAGE_REPOS:
harstorage_debian_pkgs:
- lib32stdc++6
- python-cairo
- python-rsvg
- python-setuptools
- python-pastescript
# - python-cairo
# - python-rsvg
# - python-setuptools
# - python-pastescript
harstorage_python_pkgs:
- { name: "pylons", version: "1.0"}
- { name: "webob", version: "0.9.8"}
- { name: "webob", version: "1.2"}
- { name: "pymongo", version: "2.8"}
- { name: "PasteScript", version: "1.7.5"}
harstorage_redhat_pkgs: []
harstorage_port: "5000"
......
......@@ -78,22 +78,34 @@
- install
- install:configuration
- name: clone harstorage
git: >
repo=https://github.com/edx/harstorage.git
dest={{ harstorage_code_dir }}
sudo_user: "{{ harstorage_user }}"
tags:
- install
- install:code
- name: install harstorage
easy_install:
name: "{{ harstorage_code_dir }}/harstorage-1.0-py2.7.egg"
virtualenv: "{{ harstorage_venv_dir }}"
command: >
{{ harstorage_venv_dir }}/bin/python ./setup.py install
args:
chdir: "{{ harstorage_code_dir }}"
tags:
- install
- install:code
- name: apply config
command: "/usr/bin/paster setup-app {{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini"
command: "{{ harstorage_venv_dir }}/bin/paster setup-app {{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini"
args:
chdir: "{{ harstorage_code_dir }}"
tags:
- install
- install:configuration
# - name: run harstorage
# command: "/usr/bin/paster serve {{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini"
# command: "{{ harstorage_venv_dir }}/bin/paster serve {{ harstorage_venv_dir }}/{{ harstorage_etc }}/production.ini"
# tags:
# -
# - install:base
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment