Skip to content

Commit

Permalink
Add MySQL und Postgres drivers to the deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelm committed May 18, 2015
1 parent 73a4694 commit 5a4952e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/docker/standalone/Dockerfile
Expand Up @@ -24,6 +24,8 @@ RUN git clone --recursive --depth 1 https://github.com/pretix/pretix.git /pretix
WORKDIR /pretix/src

RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements/mysql.txt
RUN pip3 install -r requirements/postgres.txt
RUN pip3 install gunicorn

RUN make production
Expand Down
2 changes: 2 additions & 0 deletions src/requirements/mysql.txt
@@ -0,0 +1,2 @@
--allow-external mysql-connector-python
mysql-connector-python
2 changes: 2 additions & 0 deletions src/requirements/postgres.txt
@@ -0,0 +1,2 @@
psycopg2

0 comments on commit 5a4952e

Please sign in to comment.