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-ubuntu-native | |
cd dw-ubuntu-native | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install libpq-dev python-dev | |
sudo apt-get -y install postgresql postgresql-contrib | |
sudo apt-get -y install nginx | |
sudo apt-get -y install python-virtualenv | |
sudo apt-get -y install python-pip | |
sudo apt-get -y install libxml2-dev libxslt1-dev |
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 | |
cd dw-vagrant | |
vagrant init | |
mkdir ../data | |
# Edit Vagrantfile | |
vagrant up | |
vagrant ssh | |
cd /vagrant | |
sudo apt-get -y update | |
sudo apt-get -y upgrade |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
config.vm.network "forwarded_port", guest: 80, host: 8888 | |
config.vm.synced_folder "../data", "/vagrant_data" | |
end |
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 su - postgres | |
createdb postgres | |
psql postgres | |
\password | |
Ctrl+D | |
exit |
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
# Version 1.0 | |
FROM ubuntu | |
MAINTAINER Musa Baloyi <musabaloyi@aims.ac.za> | |
WORKDIR /home | |
RUN sudo apt-get update | |
RUN sudo apt-get install -y memcached | |
EXPOSE 11211 | |
CMD ["-m", "128"] | |
USER daemon | |
ENTRYPOINT memcached |
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 melaniem@docker.com | |
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 | |
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main" > /etc/apt/sources.list.d/pgdg.list | |
RUN apt-get update && apt-get install -y python-software-properties software-properties-common postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 | |
USER postgres | |
RUN /etc/init.d/postgresql start &&\ | |
psql --command "CREATE USER mangrove WITH SUPERUSER PASSWORD 'mangrove';" &&\ | |
createdb -O mangrove mangrove | |
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.3/main/pg_hba.conf |
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 ajaydivakaran/dw-ubuntu-base:latest | |
MAINTAINER ajaydivakaran | |
ENV ES_PKG_NAME elasticsearch-0.90.13 | |
# Install Elasticsearch. | |
RUN \ | |
cd / && \ | |
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/$ES_PKG_NAME.tar.gz && \ | |
tar xvzf $ES_PKG_NAME.tar.gz && \ |
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-docker | |
cd dw-docker | |
boot2docker start | |
boot2docker ssh | |
git clone git@github.com:ajaydivakaran/dw-docker.git | |
cd dw-docker | |
sudo docker build -t kurhula/dw-python python | |
sudo docker build -t kurhula/dw-postgres postgres | |
#sudo docker build -t kurhula/dw-memcached memcached | |
#sudo docker build -t kurhula/dw-elasticsearch elasticsearch |
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
apscheduler==2.1.1 | |
babel | |
BeautifulSoup | |
boto | |
celery | |
CouchDB==0.9 | |
coverage==3.4 | |
decorator | |
django-countries==1.5 | |
django-debug-toolbar-django13 |
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 |
OlderNewer