Skip to content

Commit

Permalink
Merge branch 'pydat4-dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mraoul committed Sep 20, 2018
2 parents bdb9506 + c82f6bb commit 58280a2
Show file tree
Hide file tree
Showing 149 changed files with 65,367 additions and 34,125 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pydat/pydat/custom_settings.py
*.pyc
*.swp
*.vscode
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM httpd:2.4

MAINTAINER mitrecnd, http://github.com/mitrecnd

ENV WSGI_VERSION="4.4.13" PATH=$PATH:/opt/WhoDat/pydat/scripts
ENV WSGI_VERSION="4.6.4" PATH=$PATH:/opt/WhoDat/pydat/scripts

COPY . /opt/WhoDat/
ADD https://bootstrap.pypa.io/get-pip.py /tmp/
Expand All @@ -21,7 +21,7 @@ RUN \
apt-get install -y python python-dev $buildDeps && \
/tmp/get-pip.py && \
rm /tmp/get-pip.py && \
pip install -r /opt/WhoDat/docker/requirements.txt && \
pip install -r /opt/WhoDat/requirements.es5.txt && \
cd /tmp/ && \
tar -zxf ${WSGI_VERSION}.tar.gz && \
rm ${WSGI_VERSION}.tar.gz && \
Expand Down
455 changes: 247 additions & 208 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ Note that you will still need to create and pass in a custom_setings.py configur
Image Organization
------------------

This image is based on Apache's httpd image with all required dependencies to use pyDat with MongoDB or ElasticSearch.
This image is based on Apache's httpd image with all required dependencies to use pyDat with ElasticSearch.

The repo has been installed into /opt/WhoDat but a soft link has been created at /pydat which points to /opt/WhoDat/pydat/pydat to make it easier to add a custom_settings file.
The repo has been installed into /opt/WhoDat but a soft link has been created at /pydat which points to /opt/WhoDat/pydat/pydat to make it easier to add a custom_settings file.

The PATH has also been modified to include the scripts directory allowing you to directly execute the populate scripts from the command line:

Expand Down
3 changes: 2 additions & 1 deletion docker/apache.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule dir_module modules/mod_dir.so
LoadModule alias_module modules/mod_alias.so
LoadModule mpm_event_module modules/mod_mpm_event.so

<IfModule unixd_module>
User daemon
Expand Down Expand Up @@ -196,7 +197,7 @@ WSGIScriptAlias "/" "/opt/WhoDat/pydat/pydat/wsgi.py" process-group=pydat applic
</Directory>

# Static content - CSS, Javascript, images, etc.
Alias /static/ /opt/WhoDat/pydat/pydat/static/
Alias /static/ /opt/WhoDat/pydat/extras/www/static/
<Directory /opt/WhoDat/pydat/extras/www/static>
Order allow,deny
Allow from all
Expand Down
7 changes: 0 additions & 7 deletions docker/requirements.txt

This file was deleted.

Loading

0 comments on commit 58280a2

Please sign in to comment.