This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
postgres -D /usr/local/var/postgres |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Musa Baloyi <musabaloyi@aims.ac.za> | |
RUN sudo apt-get -y update | |
RUN sudo apt-get -y upgrade | |
RUN sudo apt-get -y install postgresql postgresql-contrib | |
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install postgresql postgresql-contrib | |
# Follow postgres db setup instructions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir dw-vagrant-ansible | |
vagrant init | |
mkdir ../data | |
# Edit Vagrantfile | |
vagrant up | |
vagrant ssh | |
cd /vagrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get -y install python-software-properties | |
sudo add-apt-repository -y ppa:rquillo/ansible | |
sudo apt-get -y install ansible | |
git clone https://github.com/mangroveorg/ansible-datawinners.git ansible | |
cd ansible | |
ansible-playbook dev.yml --sudo -K |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install nodejs | |
git clone git@github.com:mangroveorg/enketo-core-dw.git enketo-core |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:2.7 | |
MAINTAINER Musa Baloyi <musabaloyi@aims.ac.za> | |
WORKDIR /data | |
ADD requrements.pip /data/requirements.pip | |
RUN pip install -r requirements.pip | |
CMD ./build.sh rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "apscheduler==2.1.1\nbabel\nBeautifulSoup\nboto\ncelery\nCouchDB==0.9\ncoverage==3.4\ndecorator\ndjango-countries==1.5\ndjango-debug-toolbar-django13\ndjango-digest\ndjango-extensions==1.2.2\ndjango-nose==1.2\ndjango-registration==0.8\ndjango-urlmiddleware\ndjango==1.3\ndjangorestframework==2.3.9\nelasticsearch-dsl==0.0.2\nelasticsearch==0.4.5\nelasticutils==0.8\nFabric==0.9.4\nfeedparser\nflower\nFormEncode==1.2.4\ngdata\nhttps://github.com/jezdez/django_compressor/tarball/086f05041a28c176994ebc22dc41ce12da74045e\nipython\niso8601==0.1.4\njinja2\njsonpickle\nlxml==2.3.4\nmock\nmodilabs-python-utils==0.1.5\nnetworkx\nnose-exclude\nnose==1.3.0\nopenpyxl==2.1.3\nPillow==2.7.0\npsycopg2==2.4.1\npyelasticsearch==0.7.1\npyscss\npython-dateutil==1.5\npython-digest\npython-magic==0.4.6\npytz==2013b\nrednose\nrequests==1.2.3\nselenium==2.43.0\nsimplejson\nsix==1.8.0\nsouth==0.7.3\nsupervisor\nunittest2==0.5.1\nurllib3\nuWSGI==1.4.9\nxlrd==0.8.0\nXlsxWriter==0.6.4\nxlutils\nxlwt==0.7.5\nxmldict\nxmltodict==0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualenv dw-python-env | |
source dw-python-env/bin/activate | |
pip install -r requirements.pip | |
deactivate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone git@github.com:mangroveorg/datawinners.git | |
git clone git@github.com:mangroveorg/enketo-core-dw.git datawinners/enketo-core | |
git clone git@github.com:mangroveorg/mangrove.git |