7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-10 01:32:21 +00:00

Fix private requirements version control

private.txt was under version control.
This commit is contained in:
Régis Behmo 2018-11-20 11:45:49 +01:00
parent 2f9766a3a1
commit 1585a20558
5 changed files with 7 additions and 6 deletions

2
.gitignore vendored
View File

@ -2,5 +2,5 @@
config/ config/
data-*/ data-*/
TODO TODO
openedx/requirements/private.* openedx/requirements/private.txt
.env .env

View File

@ -54,8 +54,8 @@ RUN curl -L -o dockerize.tar.gz https://github.com/jwilder/dockerize/releases/do
&& rm dockerize.tar.gz && rm dockerize.tar.gz
# Install private requirements as late as possible, so they can be modified frequently # Install private requirements as late as possible, so they can be modified frequently
COPY ./requirements/private.txt /tmp/ COPY ./requirements/ /tmp/requirements
RUN pip install --src ../venv/src -r /tmp/private.txt RUN touch /tmp/requirements/private.txt && pip install --src ../venv/src -r /tmp/requirements/private.txt
# Copy convenient scripts # Copy convenient scripts
COPY ./bin/docker-entrypoint.sh /usr/local/bin/ COPY ./bin/docker-entrypoint.sh /usr/local/bin/

1
openedx/requirements/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
private.txt

View File

@ -0,0 +1,3 @@
Add your additional requirements, such as xblocks, to private.txt. This file
is not under version control, which means that your changes will not be
committed to the upstream repository.

View File

@ -1,3 +0,0 @@
# Add your additional requirements here, such as xblocks. This file is not
# under version control, which means that your changes will not be committed to
# the upstream repository.