Merge branch 'feature/cara_scripts' into 'master'
Added scripts to install and run CARA See merge request cara/cara!279
This commit is contained in:
commit
3b3751bbd9
4 changed files with 40 additions and 0 deletions
13
cara/scripts/themes/base/cara_script.command
Executable file
13
cara/scripts/themes/base/cara_script.command
Executable file
|
|
@ -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"
|
||||
7
cara/scripts/themes/base/cara_script.sh
Executable file
7
cara/scripts/themes/base/cara_script.sh
Executable file
|
|
@ -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"
|
||||
13
cara/scripts/themes/cern/cara_script.command
Executable file
13
cara/scripts/themes/cern/cara_script.command
Executable file
|
|
@ -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"
|
||||
7
cara/scripts/themes/cern/cara_script.sh
Executable file
7
cara/scripts/themes/cern/cara_script.sh
Executable file
|
|
@ -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"
|
||||
Loading…
Reference in a new issue