-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #193 chore: added oauth * #193 chore: install social login after pip upgrade * #193 chore: update & fix dependencies and implemented twitter login * #193 chore: moved the social keys and secrets to a k8 secret * #193 chore: small refactor of scidash dockerfile * #193 chore: updated k8s scidash yaml
- Loading branch information
Showing
11 changed files
with
140 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
venv | ||
tmp | ||
**/*/node_modules | ||
pygeppetto-django | ||
static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
django==1.11.23 | ||
psycopg2==2.7.7 | ||
channels==2.1.2 | ||
django==1.11.29 | ||
psycopg2-binary==2.8.6 | ||
channels==2.3.1 | ||
djangorestframework==3.7.1 | ||
drf-writable-nested | ||
django-filter==1.1.0 | ||
djangorestframework-jwt | ||
django-extensions | ||
django-timezone-field==3.1 | ||
# djangorestframework-jwt | ||
django-extensions==2.1.6 | ||
django-dotenv | ||
rest-framework-cache | ||
django-material | ||
celery[redis] | ||
django-celery-beat | ||
django-celery-results | ||
celery[redis]==4.2.2 | ||
django-celery-beat==1.4.0 | ||
django-celery-results==1.0.4 | ||
django-db-logger | ||
git+git://github.com/scidash/neuronunit@metacell#egg=neuronunit | ||
git+git://github.com/MetaCell/scidash-api.git@master#egg=scidash_api | ||
wheel==0.33.6 | ||
sentry-sdk==1.0.0 | ||
neo==0.5.2 | ||
pynn==0.9.5 | ||
Jinja2==2.11.3 | ||
git+git://github.com/scidash/neuronunit@metacell | ||
git+git://github.com/MetaCell/scidash-api.git@master | ||
wheel | ||
sentry-sdk | ||
django-ckeditor==5.9.0 | ||
django-admin-sortable2==0.7.5 | ||
social-auth-app-django==4.0.0 # will be installed through install script install-backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,112 +1,26 @@ | ||
# | ||
# This file is autogenerated by pip-compile | ||
# To update, run: | ||
# | ||
# pip-compile requirements.in | ||
# | ||
amqp==2.4.2 # via kombu | ||
asgiref==2.3.2 # via channels | ||
async-timeout==3.0.1 # via asgiref | ||
attrs==19.1.0 # via automat, twisted | ||
autobahn==19.3.3 # via daphne | ||
automat==0.7.0 # via twisted | ||
billiard==3.5.0.5 # via celery | ||
django==1.11.29 | ||
psycopg2-binary==2.8.6 | ||
channels==2.3.1 | ||
djangorestframework==3.7.1 | ||
drf-writable-nested | ||
django-filter==1.1.0 | ||
django-timezone-field==3.1 | ||
# djangorestframework-jwt | ||
django-extensions==2.1.6 | ||
django-dotenv | ||
rest-framework-cache | ||
django-material | ||
celery[redis]==4.2.2 | ||
channels==2.1.2 | ||
constantly==15.1.0 # via twisted | ||
daphne==2.2.5 # via channels | ||
dask[complete]==2.9.0 # via distributed | ||
deap==1.3.0 | ||
decorator==4.4.1 # via ipyparallel, ipython, networkx, traitlets, validators | ||
defusedxml==0.6.0 # via nbconvert | ||
distributed==2.9.0 # via dask | ||
django-admin-sortable2==0.7.5 | ||
django-celery-beat==1.4.0 | ||
django-celery-results==1.0.4 | ||
django-ckeditor==5.9.0 | ||
django-db-logger==0.1.7 | ||
django-dotenv==1.4.2 | ||
django-extensions==2.1.6 | ||
django-filter==1.1.0 | ||
django-material==1.5.2 | ||
django-timezone-field==3.0 # via django-celery-beat | ||
django==1.11.23 | ||
djangorestframework-jwt==1.11.0 | ||
djangorestframework==3.7.1 | ||
drf-writable-nested==0.5.1 | ||
git+git://github.com/scidash/neuronunit@metacell#egg=neuronunit | ||
git+git://github.com/MetaCell/scidash-api.git@master#egg=scidash_api | ||
hyperlink==18.0.0 # via twisted | ||
idna==2.8 # via hyperlink, requests | ||
igor==0.3 | ||
imageio==2.6.1 # via scikit-image | ||
importlib-metadata==1.3.0 # via jsonschema | ||
incremental==17.5.0 # via twisted | ||
ipykernel==5.1.3 # via ipyparallel | ||
ipyparallel==6.2.4 | ||
ipython-genutils==0.2.0 # via ipyparallel, nbformat, traitlets | ||
ipython==7.10.2 # via ipykernel, ipyparallel | ||
jedi==0.15.2 # via ipython | ||
jinja2==2.10.3 # via allensdk, bokeh, nbconvert | ||
jsonschema==3.2.0 # via nbformat | ||
jupyter-client==5.3.4 # via ipykernel, ipyparallel | ||
jupyter-core==4.6.1 # via jupyter-client, nbconvert, nbformat | ||
kiwisolver==1.1.0 # via matplotlib | ||
kombu==4.3.0 # via celery | ||
lazyarray==0.3.3 # via pynn | ||
libneuroml==0.2.47 | ||
llvmlite==0.30.0 # via numba | ||
lmfit==1.0.0 | ||
locket==0.2.0 # via partd | ||
lxml==4.4.2 # via libneuroml | ||
markupsafe==1.1.1 # via jinja2 | ||
matplotlib==3.1.2 # via allensdk, scikit-image | ||
mistune==0.8.4 # via nbconvert | ||
more-itertools==8.0.2 # via zipp | ||
msgpack==0.6.2 # via distributed | ||
nbconvert==5.6.1 | ||
nbformat==4.4.0 # via nbconvert | ||
neo==0.5.2 # via elephant, pynn | ||
networkx==2.4 # via scikit-image | ||
neuromllite==0.1.9 | ||
numba==0.46.0 | ||
numpy==1.18.0 # via allensdk, bokeh, dask, deap, efel, elephant, h5py, imageio, lazyarray, lmfit, matplotlib, neo, numba, pandas, patsy, pynn, pynrrd, pywavelets, scipy, statsmodels | ||
packaging==19.2 # via bokeh | ||
pandas==0.25.3 # via allensdk, dask, statsmodels | ||
pandocfilters==1.4.2 # via nbconvert | ||
parso==0.5.2 # via jedi | ||
partd==1.1.0 # via dask | ||
patsy==0.5.1 # via statsmodels | ||
pexpect==4.7.0 # via ipython | ||
pickleshare==0.7.5 # via ipython | ||
pillow==6.2.1 # via bokeh, imageio, scikit-image | ||
prompt-toolkit==3.0.2 # via ipython | ||
psutil==5.6.7 # via distributed | ||
psycopg2==2.7.7 | ||
pyhamcrest==1.9.0 # via twisted | ||
pyjwt==1.7.1 # via djangorestframework-jwt | ||
pylems==0.4.9.3 | ||
git+https://github.com/rgerkin/pyneuroml@master#egg=pyneuroml-9999 | ||
django-db-logger | ||
neo==0.5.2 | ||
pynn==0.9.5 | ||
pynrrd==0.4.1 # via allensdk | ||
pyparsing==2.4.6 # via matplotlib, packaging | ||
pyrsistent==0.15.6 # via jsonschema | ||
python-crontab==2.3.6 # via django-celery-beat | ||
python-dateutil==2.8.0 # via python-crontab | ||
pytz==2018.9 # via celery, django, django-timezone-field | ||
redis==2.10.6 # via celery | ||
rest-framework-cache==0.1 | ||
sentry-sdk==1.0.0 | ||
six==1.12.0 # via autobahn, automat, django-extensions, pyhamcrest, python-dateutil, txaio | ||
twisted==18.9.0 # via daphne | ||
txaio==18.8.1 # via autobahn | ||
vine==1.3.0 # via amqp | ||
wcwidth==0.1.7 # via prompt-toolkit | ||
webencodings==0.5.1 # via bleach | ||
wheel==0.33.6 | ||
zict==1.0.0 # via distributed | ||
zipp==0.6.0 # via importlib-metadata | ||
zope.interface==4.6.0 # via twisted | ||
|
||
# The following packages are considered to be unsafe in a requirements file: | ||
# setuptools | ||
Jinja2==2.11.3 | ||
git+git://github.com/scidash/neuronunit@metacell | ||
git+git://github.com/MetaCell/scidash-api.git@master | ||
wheel | ||
sentry-sdk | ||
django-ckeditor==5.9.0 | ||
django-admin-sortable2==0.7.5 | ||
social-auth-app-django==4.0.0 # will be installed through install script install-backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,19 +17,24 @@ ARG defaultBranch=development | |
|
||
ENV SERVER_HOME $APP_DIR/virgo-tomcat-server | ||
|
||
RUN cat /etc/passwd | ||
RUN useradd -ms /bin/bash developer | ||
ENV HOME /home/developer | ||
RUN cat /etc/passwd | ||
|
||
WORKDIR $ROOT | ||
|
||
RUN echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf | ||
RUN mkdir -p /etc/secrets | ||
|
||
# INSTALLING REQUIREMENTS | ||
RUN apt-get update | ||
RUN apt-get install -y gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 \ | ||
libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 \ | ||
libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 \ | ||
libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 \ | ||
libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 \ | ||
lsb-release xdg-utils wget curl llvm python3-tk | ||
lsb-release xdg-utils wget curl llvm python3-tk | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash | ||
RUN apt-get update && apt-get -y install nodejs | ||
RUN curl https://www.npmjs.com/install.sh | sh | ||
|
@@ -52,7 +57,6 @@ RUN git config --global user.email "[email protected]" | |
RUN git config --global user.name "SciDash" | ||
|
||
WORKDIR $APP_DIR/scidash | ||
RUN virtualenv venv-py -p python3.6 | ||
|
||
WORKDIR $APP_DIR/scidash | ||
RUN make ARGS="-b $targetBranch" install-backend-with-env | ||
|
@@ -67,8 +71,4 @@ RUN npm run build-dev-noTest | |
WORKDIR $APP_DIR/scidash | ||
RUN cp ./service/dotenv/scidash_env .env | ||
|
||
USER root | ||
RUN echo 'kernel.unprivileged_userns_clone=1' > /etc/sysctl.d/userns.conf | ||
|
||
USER developer | ||
CMD ./service/scripts/run.sh |
Oops, something went wrong.