diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..68d9fc3 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,14 @@ +FROM python:2.7-jessie + +RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales + +# Set the locale +RUN locale-gen en_GB.UTF-8 +ENV LANG en_GB.UTF-8 +ENV LANGUAGE en_GB:en +ENV LC_ALL en_GB.UTF-8 + +WORKDIR /opt/expo/troggle +COPY requirements.txt . + +RUN pip install -r requirements.txt diff --git a/docker/Dockerfile-django-1.4.22-wheezy b/docker/Dockerfile-django-1.4.22-wheezy new file mode 100644 index 0000000..c3d72fb --- /dev/null +++ b/docker/Dockerfile-django-1.4.22-wheezy @@ -0,0 +1,14 @@ +FROM python:2.7-wheezy + +RUN apt-get -y update && apt-get install -y mercurial fonts-freefont-ttf survex locales + +# Set the locale +RUN locale-gen en_GB.UTF-8 +ENV LANG en_GB.UTF-8 +ENV LANGUAGE en_GB:en +ENV LC_ALL en_GB.UTF-8 + +WORKDIR /opt/expo/troggle +COPY requirements.txt . + +RUN pip install -r requirements.txt diff --git a/docker/docker-cmd b/docker/docker-cmd new file mode 100644 index 0000000..105161d --- /dev/null +++ b/docker/docker-cmd @@ -0,0 +1,2 @@ + +docker run -it --rm --link expo-mysql:mysql -v /home/sam/expo/troggle:/expo python:2.7-wheezy /bin/bash diff --git a/docker/requirements.txt b/docker/requirements.txt new file mode 100644 index 0000000..dac7b30 --- /dev/null +++ b/docker/requirements.txt @@ -0,0 +1,7 @@ +Django==1.4.22 +django-registration==0.8 +mysql +imagekit +Image +django-tinymce==1.5.3 +smartencoding