Return LFS files to repository

This commit is contained in:
James Devine 2022-04-06 11:48:34 +02:00
parent f6bd576134
commit 6226048f9b
9 changed files with 1613634 additions and 55 deletions

View file

@ -27,21 +27,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v2
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: Git LFS Pull
run: git lfs pull
- name: Set up Python 3.9
uses: actions/setup-python@v2
@ -64,21 +49,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
lfs: true
- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: Restore LFS cache
uses: actions/cache@v2
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: Git LFS Pull
run: git lfs pull
- name: Set up Python 3.9
uses: actions/setup-python@v2

View file

@ -79,16 +79,11 @@ This will start a local version of CARA, which can be visited at http://localhos
## Development guide
The CARA repository makes use of Git's Large File Storage (LFS) feature.
You will need a working installation of git-lfs in order to run CARA in development mode.
See https://git-lfs.github.com/ for installation instructions.
CARA is also mirrored to Github if you wish to collaborate on development and can be found at: https://github.com/CERN/cara
### Installing CARA in editable mode
```
git lfs pull # Fetch the data from LFS
pip install -e . # At the root of the repository
```

2
cara/.gitattributes vendored
View file

@ -1,2 +0,0 @@
global_weather_set.json filter=lfs diff=lfs merge=lfs -text
hadisd_station_fullinfo_v311_202001p.txt filter=lfs diff=lfs merge=lfs -text

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -1,8 +1,6 @@
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
@ -12,4 +10,5 @@ pip3 install -e .
echo "############################################"
echo "CARA is now running at http://localhost:8080"
echo "############################################"
python3 -m cara.apps.calculator
python3 -m cara.apps.calculator

View file

@ -1,9 +1,8 @@
git clone https://gitlab.cern.ch/cara/cara.git
cd cara
git lfs install
git lfs pull
pip install -e .
echo "############################################"
echo "CARA is now running at http://localhost:8080"
echo "############################################"
python -m cara.apps.calculator
python -m cara.apps.calculator

View file

@ -1,8 +1,6 @@
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
@ -12,4 +10,5 @@ pip3 install -e .
echo "############################################"
echo "CARA is now running at http://localhost:8080"
echo "############################################"
python3 -m cara.apps.calculator --theme=cara/apps/templates/cern
python3 -m cara.apps.calculator --theme=cara/apps/templates/cern

View file

@ -1,9 +1,8 @@
git clone https://gitlab.cern.ch/cara/cara.git
cd cara
git lfs install
git lfs pull
pip install -e .
echo "############################################"
echo "CARA is now running at http://localhost:8080"
echo "############################################"
python -m cara.apps.calculator --theme=cara/apps/templates/cern
python -m cara.apps.calculator --theme=cara/apps/templates/cern