From 791024e077c25a7b0cc476cc0b55e16cfac6386d Mon Sep 17 00:00:00 2001 From: kthoden Date: Mon, 8 Jun 2020 17:12:49 +0200 Subject: [PATCH] git development --- README.md | 3 +-- requirements.txt | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 285754d..e55b2d5 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,6 @@ It might be necessary to tweak the django settings, among other adjustments. In order to develop and enhance existing Django applications, do the following: -- In the `requirements.txt`, disable the application (i.e. comment it out with a `#`). -- Copy the application data into the `src` directory. For example, if you want to work on `django-eoaseries` you need the subdirectory `eoaseries`. You cannot use symlinks. They are not recognized by Docker. +- Following https://pip.readthedocs.io/en/1.1/requirements.html#requirements-file-format, the `-e` option in the `requirements.txt` file will install the Django applications in an accessible place - run `./scripts/run.py --build` to update the installation. - In order to deploy the development, update the corresponding repository, commit and push and insert the commit hash in the `requirements.txt`. diff --git a/requirements.txt b/requirements.txt index 40cbd88..66b7716 100644 --- a/requirements.txt +++ b/requirements.txt @@ -40,3 +40,8 @@ git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaforthcoming.git@42bfb git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoapublications.git@c1dfa9e22ab9bb284be6863f284c47b38fd277d0 git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaseries.git@e9a82f28e57809d1ea8218ab5916ed82d38aecd4 git+git://github.molgen.mpg.de/EditionOpenAccess/django-opds.git@a76f40f9ded97ae612181063644b3741e88c87a0 +# -e git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaauthors.git#egg=django-eoaauthors +# -e git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaforthcoming.git#egg=django-eoaforthcoming +# -e git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoapublications.git#egg=django-eoapublications +# -e git+git://github.molgen.mpg.de/EditionOpenAccess/django-eoaseries.git#egg=django-eoaseries +# -e git+git://github.molgen.mpg.de/EditionOpenAccess/django-opds.git#egg=django-eoaopds