Skip to content

Commit

Permalink
Release v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
msfernandes authored Nov 13, 2018
2 parents 6d8adac + 1454e98 commit cd6e5fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@ RUN chmod 0644 /etc/cron.d/wikilegis
ADD . /var/labhacker/wikilegis
WORKDIR /var/labhacker/wikilegis

ADD ./config/plugins.json /var/labhacker/wikilegis/wikilegis/.plugins

RUN pip3 install -U pip && \
pip3 install -r requirements.txt psycopg2 gunicorn && \
pip3 install git+https://github.com/tenhodito/pygov-br.git roman==2.0.0 && \
rm -r /root/.cache

RUN npm install

WORKDIR /var/labhacker/wikilegis/wikilegis
RUN python3 manage.py activate_plugin camara_deputados && \
python3 manage.py bower_install --allow-root && \
RUN python3 manage.py bower_install --allow-root && \
python3 manage.py compilemessages

EXPOSE 8000
Expand Down
3 changes: 3 additions & 0 deletions config/plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"camara_deputados": true
}

0 comments on commit cd6e5fa

Please sign in to comment.