File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,13 @@ COPY requirements-mathicsscript.txt ./
1919RUN pip install --no-cache-dir -r requirements-mathicsscript.txt
2020
2121RUN pip install git+git://github.com/mathics/Mathics.git#egg=Mathics3
22- RUN pip install git+git ://github.com/Mathics3/mathics-django.git #egg=Mathics-Django
22+ RUN python -m pip install -e git://github.com/Mathics3/mathics-django#egg=Mathics-Django
2323RUN pip install pymathics-natlang
2424RUN pip install pymathics-graph
25- RUN pip install mathicsscript
25+ RUN python -m pip install -e git://github.com/Mathics3/mathicsscript#egg=mathicsscript
26+ RUN cd src/mathicsscript; make
27+ # RUN pip install mathicsscript
28+
2629RUN python -m nltk.downloader wordnet omw
2730RUN python -m spacy download en
2831
Original file line number Diff line number Diff line change @@ -41,16 +41,6 @@ while (( $# )) ; do
4141 esac
4242done
4343
44- echo
45- echo " ~~~~ app/data has been mounted to $MATHICS_HOME /data ~~~~"
46- if [[ -n $MATHICS_DJANGO_DB_PATH ]]; then
47- echo " ~~~~ SQLite data (worksheets, user info) will be stored in $MATHICS_DJANGO_DB_PATH ~~~~"
48- else
49- echo " ~~~~ SQLite data (worksheets, user info) will be stored in $MATHICS_HOME /data/mathics.sqlite"
50- fi
51- echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
52- echo
53-
5444case $mathics_mode in
5545 cli) mathicsscript
5646 $@
@@ -59,6 +49,15 @@ case $mathics_mode in
5949 mathics $@
6050 ;;
6151 ui|gui)
52+ echo
53+ echo " ~~~~ app/data has been mounted to $MATHICS_HOME /data ~~~~"
54+ if [[ -n $MATHICS_DJANGO_DB_PATH ]]; then
55+ echo " ~~~~ SQLite data (worksheets, user info) will be stored in $MATHICS_DJANGO_DB_PATH ~~~~"
56+ else
57+ echo " ~~~~ SQLite data (worksheets, user info) will be stored in $MATHICS_HOME /data/mathics.sqlite"
58+ fi
59+ echo " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
60+ echo
6261 mathicsserver -e $@ ;;
6362 shell) /bin/bash ;;
6463 * ) echo " unknown mathics_mode=$mathics_mode . See '$script_cmd --help'" ; exit 2 ;;
You can’t perform that action at this time.
0 commit comments