Return LFS files to repository
This commit is contained in:
parent
f6bd576134
commit
6226048f9b
9 changed files with 1613634 additions and 55 deletions
30
.github/workflows/tests.yml
vendored
30
.github/workflows/tests.yml
vendored
|
|
@ -27,21 +27,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
@ -64,21 +49,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
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
|
- name: Set up Python 3.9
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
|
|
|
||||||
|
|
@ -79,16 +79,11 @@ This will start a local version of CARA, which can be visited at http://localhos
|
||||||
|
|
||||||
## Development guide
|
## 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
|
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
|
### Installing CARA in editable mode
|
||||||
|
|
||||||
```
|
```
|
||||||
git lfs pull # Fetch the data from LFS
|
|
||||||
pip install -e . # At the root of the repository
|
pip install -e . # At the root of the repository
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
2
cara/.gitattributes
vendored
2
cara/.gitattributes
vendored
|
|
@ -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
|
|
@ -1,8 +1,6 @@
|
||||||
cd Downloads
|
cd Downloads
|
||||||
git clone https://gitlab.cern.ch/cara/cara.git
|
git clone https://gitlab.cern.ch/cara/cara.git
|
||||||
cd cara
|
cd cara
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
if [[ `uname -m` == 'arm64' ]]; then
|
if [[ `uname -m` == 'arm64' ]]; then
|
||||||
pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple
|
pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple
|
||||||
pip3 install Cython
|
pip3 install Cython
|
||||||
|
|
@ -12,4 +10,5 @@ pip3 install -e .
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
echo "CARA is now running at http://localhost:8080"
|
echo "CARA is now running at http://localhost:8080"
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
python3 -m cara.apps.calculator
|
python3 -m cara.apps.calculator
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
git clone https://gitlab.cern.ch/cara/cara.git
|
git clone https://gitlab.cern.ch/cara/cara.git
|
||||||
cd cara
|
cd cara
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
echo "CARA is now running at http://localhost:8080"
|
echo "CARA is now running at http://localhost:8080"
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
python -m cara.apps.calculator
|
python -m cara.apps.calculator
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
cd Downloads
|
cd Downloads
|
||||||
git clone https://gitlab.cern.ch/cara/cara.git
|
git clone https://gitlab.cern.ch/cara/cara.git
|
||||||
cd cara
|
cd cara
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
if [[ `uname -m` == 'arm64' ]]; then
|
if [[ `uname -m` == 'arm64' ]]; then
|
||||||
pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple
|
pip3 install scipy --index-url=https://pypi.anaconda.org/scipy-wheels-nightly/simple
|
||||||
pip3 install Cython
|
pip3 install Cython
|
||||||
|
|
@ -12,4 +10,5 @@ pip3 install -e .
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
echo "CARA is now running at http://localhost:8080"
|
echo "CARA is now running at http://localhost:8080"
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
python3 -m cara.apps.calculator --theme=cara/apps/templates/cern
|
python3 -m cara.apps.calculator --theme=cara/apps/templates/cern
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
git clone https://gitlab.cern.ch/cara/cara.git
|
git clone https://gitlab.cern.ch/cara/cara.git
|
||||||
cd cara
|
cd cara
|
||||||
git lfs install
|
|
||||||
git lfs pull
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
echo "CARA is now running at http://localhost:8080"
|
echo "CARA is now running at http://localhost:8080"
|
||||||
echo "############################################"
|
echo "############################################"
|
||||||
python -m cara.apps.calculator --theme=cara/apps/templates/cern
|
python -m cara.apps.calculator --theme=cara/apps/templates/cern
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue