Skip to content

Commit

Permalink
[FEATURE] remove node_modules from ILIAS repository.
Browse files Browse the repository at this point in the history
  • Loading branch information
thibsy committed Mar 8, 2023
1 parent cee33df commit 543c72b
Show file tree
Hide file tree
Showing 11,057 changed files with 20 additions and 2,590,967 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
/setup/sql/ilDBTemplate
virtual-data
/libs/composer/vendor
/node_modules/**/.cache
/node_modules

# /dicto
/dicto/results/*
Expand Down
27 changes: 19 additions & 8 deletions docs/configuration/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ For best results we recommend:
* git
* composer v2
* a contemporary browser supporting ES6, CSS3 and HTML 5
* npm

Package names may vary depending on the Linux distribution.

Expand Down Expand Up @@ -369,12 +370,11 @@ git clone https://github.com/ILIAS-eLearning/ILIAS.git . --single-branch
git checkout release_X
```

or unpack the downloaded archieve to the docroot. Replace `release_X` with the
branch or tag you actually want to install.
or unpack the downloaded archieve to the docroot. Replace `release_X` with the branch or tag you actually want to
install.

The repository of ILIAS doesn't contain all code that is required to run. To
download the required PHP-dependencies and to create static artifacts from
the source, run the following in your ILIAS folder:
The repository of ILIAS doesn't contain all code that is required to run. To download the required PHP-dependencies and
to create static artifacts from the source, run the following in your ILIAS folder:

```
composer install --no-dev
Expand All @@ -383,9 +383,16 @@ composer install --no-dev
This requires that the php dependency manager [composer](https://getcomposer.org/)
is available in your $PATH.

Create a directory outside the web servers docroot (e.g. `/var/www/files`). Make
sure that the web server is the owner of the files and directories that were created
by changing the group and owner to www-data (on Debian/Ubuntu) or apache (on RHEL).
```
npm install --omit=dev --ignore-scripts
```

This requires that the javascript dependency manager [npm](https://https://www.npmjs.com/)
is available in your $PATH.

Create a directory outside the web servers docroot (e.g. `/var/www/files`). Make sure that the web server is the owner
of the files and directories that were created by changing the group and owner to www-data (on Debian/Ubuntu) or
apache (on RHEL).

```
chown www-data:www-data `/var/www/html
Expand All @@ -395,6 +402,7 @@ chown www-data:www-data `/var/www/files
The commands above will directly serve ILIAS from the docroot.

<a name="install-ilias"></a>

## Install ILIAS

After having all dependencies installed and configured you should be able to run
Expand Down Expand Up @@ -611,6 +619,7 @@ your ILIAS basepath (e.g. `/var/www/html/`):
```
git pull
composer install --no-dev
npm install --omit-dev --ignore-scripts
```

if you follow a branch or
Expand All @@ -619,6 +628,7 @@ if you follow a branch or
git fetch
git checkout v7.1
composer install --no-dev
npm install --omit-dev --ignore-scripts
```

if you use tags to pin a specific ILIAS version.
Expand All @@ -643,6 +653,7 @@ layout templates. Then execute the following commands in your ILIAS basepath
git fetch
git checkout release_X
composer install --no-dev
npm install --omit-dev --ignore-scripts
```

Replace `release_X` with the branch or tag you actually want to upgrade to. You can
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/_mocha

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/acorn

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/atob

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/browserslist

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/browserslist-lint

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/errno

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/escodegen

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esgenerate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esparse

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/esvalidate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/flat

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/gl-style-composite

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/gl-style-format

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/gl-style-migrate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/gl-style-validate

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/he

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/image-size

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/js-yaml

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/jsesc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/json5

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/lessc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/loose-envify

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/mime

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/mkdirp

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/mocha

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/nanoid

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/needle

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/node-gyp

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/node-ninja

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/nopt

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/parser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/pbf

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/prebuild

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/regjsparser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rimraf

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/rollup

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/terser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/which

This file was deleted.

Binary file removed node_modules/.cache/esm/.data.blob
Binary file not shown.
1 change: 0 additions & 1 deletion node_modules/.cache/esm/.data.json

This file was deleted.

Loading

0 comments on commit 543c72b

Please sign in to comment.