Commit 3df7feb2 by Edward Zarecor

Updates to install using setup.py and update some deps

parent f6903b6a
...@@ -37,16 +37,17 @@ HARSTORAGE_REPOS: ...@@ -37,16 +37,17 @@ HARSTORAGE_REPOS:
harstorage_debian_pkgs: harstorage_debian_pkgs:
- lib32stdc++6 - lib32stdc++6
- python-cairo # - python-cairo
- python-rsvg # - python-rsvg
- python-setuptools # - python-setuptools
- python-pastescript # - python-pastescript
harstorage_python_pkgs: harstorage_python_pkgs:
- { name: "pylons", version: "1.0"} - { name: "pylons", version: "1.0"}
- { name: "webob", version: "0.9.8"} - { name: "webob", version: "1.2"}
- { name: "pymongo", version: "2.8"} - { name: "pymongo", version: "2.8"}
- { name: "PasteScript", version: "1.7.5"}
harstorage_redhat_pkgs: [] harstorage_redhat_pkgs: []
harstorage_port: "5000" harstorage_port: "5000"
harstorage_host: "127.0.0.1" harstorage_host: "127.0.0.1"
......
...@@ -77,23 +77,35 @@ ...@@ -77,23 +77,35 @@
tags: tags:
- install - install
- install:configuration - 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 - name: install harstorage
easy_install: command: >
name: "{{ harstorage_code_dir }}/harstorage-1.0-py2.7.egg" {{ harstorage_venv_dir }}/bin/python ./setup.py install
virtualenv: "{{ harstorage_venv_dir }}" args:
chdir: "{{ harstorage_code_dir }}"
tags: tags:
- install - install
- install:code - install:code
- name: apply config - 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: tags:
- install - install
- install:configuration - install:configuration
# - name: run harstorage # - 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: # tags:
# - # -
# - install:base # - 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