diff --git a/cara/scripts/themes/base/cara_script.command b/cara/scripts/themes/base/cara_script.command new file mode 100755 index 00000000..e2de10bc --- /dev/null +++ b/cara/scripts/themes/base/cara_script.command @@ -0,0 +1,13 @@ +cd Downloads +git clone https://gitlab.cern.ch/cara/cara.git +cd cara +git lfs install +git lfs pull +if [[ `uname -m` == 'arm64' ]]; then + pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple + pip3 install Cython + pip3 install -U --no-use-pep517 scikit-learn +fi +pip3 install -e . +python3 -m cara.apps.calculator +echo "CARA is now running at http://localhost:8080" \ No newline at end of file diff --git a/cara/scripts/themes/base/cara_script.sh b/cara/scripts/themes/base/cara_script.sh new file mode 100755 index 00000000..835ca024 --- /dev/null +++ b/cara/scripts/themes/base/cara_script.sh @@ -0,0 +1,7 @@ +git clone https://gitlab.cern.ch/cara/cara.git +cd cara +git lfs install +git lfs pull +pip install -e . +python -m cara.apps.calculator +echo "CARA is now running at http://localhost:8080" \ No newline at end of file diff --git a/cara/scripts/themes/cern/cara_script.command b/cara/scripts/themes/cern/cara_script.command new file mode 100755 index 00000000..4ca03012 --- /dev/null +++ b/cara/scripts/themes/cern/cara_script.command @@ -0,0 +1,13 @@ +cd Downloads +git clone https://gitlab.cern.ch/cara/cara.git +cd cara +git lfs install +git lfs pull +if [[ `uname -m` == 'arm64' ]]; then + pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple + pip3 install Cython + pip3 install -U --no-use-pep517 scikit-learn +fi +pip3 install -e . +python3 -m cara.apps.calculator --theme=cara/apps/calculator/themes/cern +echo "CARA is now running at http://localhost:8080" \ No newline at end of file diff --git a/cara/scripts/themes/cern/cara_script.sh b/cara/scripts/themes/cern/cara_script.sh new file mode 100755 index 00000000..ea59872f --- /dev/null +++ b/cara/scripts/themes/cern/cara_script.sh @@ -0,0 +1,7 @@ +git clone https://gitlab.cern.ch/cara/cara.git +cd cara +git lfs install +git lfs pull +pip install -e . +python -m cara.apps.calculator --theme=cara/apps/calculator/themes/cern +echo "CARA is now running at http://localhost:8080" \ No newline at end of file