Commit 6b46ad46 authored by msuhr1's avatar msuhr1
Browse files

Added AUTHORS.md, Dockerfile

parent 87c5bb6a
# Authors and contributors of the menoci project
## Current and past maintainers
Ordered chronologically (descending) beginning
with the current maintainer on top.
* Markus Suhr
* Christoph Lehmann
* Batlomiej Marzec
* Alexander Wildschütz
## Other contributors
Ordered alphabetically (by surname):
* Georg Aschenbrandt
* Luca Freckmann
* Christian Henke
* Marcel Hellkamp
* Lea Kühlborn
* Harald Kusch
* Roman Paul
* Sophie Rheinländer
* Oliver Wannenwetsch
* Linus Weber
* Philipp Wieder
\ No newline at end of file
# Changelog
All notable changes to this project will be documented in this file.
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
All releases shall contain the folloging sections:
Releases may contain the folloging sections:
* `Added` for new features.
* `Changed` for changes in existing functionality.
* `Deprecated` for soon-to-be removed features.
......@@ -12,10 +10,11 @@ All releases shall contain the folloging sections:
* `Fixed` for any bug fixes.
* `Security` in case of vulnerabilities.
## [Unreleased] - YYYY-MM-DD
### Added
* Dockerfile
* Included menoci modules "commons", "literature", "antibody", "mouseline",
"archive", and "wikidata" in the current release versions
* Created a bash script `update.sh` to collect latest module source code from
......
FROM drupal:7-apache
# *** optional extension: LDAP ***
# Install PHP extensions: ldap
#RUN apt-get update && \
# apt-get install libldap2-dev -y --no-install-recommends && \
# rm -rf /var/lib/apt/lists/* && \
# docker-php-ext-configure ldap --with-libdir=lib/x86_64-linux-gnu/ && \
# docker-php-ext-install ldap && \
# apt-get clean
# Install PHP extension: imagemagick
RUN apt-get update && \
apt-get install -y libmagickwand-dev --no-install-recommends && \
pecl install imagick && \
docker-php-ext-enable imagick && \
apt-get clean
# Install the tools git, wget, unzip
RUN apt-get update && apt-get install -y git wget unzip --no-install-recommends && \
apt-get clean
# Install composer
RUN curl -sS https://getcomposer.org/installer | \
php -- --install-dir=/usr/bin/ --filename=composer
# Install ssmtp for mail forwarding to another SMTP server
# /etc/ssmtp/ssmtp.conf file needs to be mapped into the container
RUN apt-get update && apt-get install -y ssmtp --no-install-recommends && \
apt-get clean
#
# Install Drupal theme dependencies
#
USER www-data:www-data
WORKDIR /var/www/html/sites/all/themes
RUN wget https://ftp.drupal.org/files/projects/bootstrap-7.x-3.26.tar.gz \
&& tar xzfv bootstrap-7.x-3.26.tar.gz \
&& rm bootstrap-7.x-3.26.tar.gz
#
# Download Bootstrap library distribution files for local delivery instead of third-party CDN usage
# Library files will be available to the Drupal engine under relative path
# sites/all/libraries/bootstrap/
#
WORKDIR /var/www/html/sites/all/libraries
RUN wget https://github.com/twbs/bootstrap/releases/download/v3.4.1/bootstrap-3.4.1-dist.zip \
&& unzip bootstrap-3.4.1-dist.zip \
&& mv bootstrap-3.4.1-dist bootstrap \
&& rm bootstrap/css/bootstrap-theme* \
&& rm bootstrap-3.4.1-dist.zip
#
# Install Drupal module dependencies
#
WORKDIR /var/www/html/sites/all/modules
RUN wget https://ftp.drupal.org/files/projects/jquery_update-7.x-2.7.tar.gz \
&& tar xzfv jquery_update-7.x-2.7.tar.gz \
&& rm jquery_update-7.x-2.7.tar.gz
RUN wget https://ftp.drupal.org/files/projects/entity-7.x-1.9.tar.gz \
&& tar xzfv entity-7.x-1.9.tar.gz \
&& rm entity-7.x-1.9.tar.gz
RUN wget https://ftp.drupal.org/files/projects/profile2-7.x-1.6.tar.gz \
&& tar xzfv profile2-7.x-1.6.tar.gz \
&& rm profile2-7.x-1.6.tar.gz
RUN wget https://ftp.drupal.org/files/projects/account_profile-7.x-2.0.tar.gz \
&& tar xzfv account_profile-7.x-2.0.tar.gz \
&& rm account_profile-7.x-2.0.tar.gz
RUN wget https://ftp.drupal.org/files/projects/date-7.x-2.10.tar.gz \
&& tar xzfv date-7.x-2.10.tar.gz \
&& rm date-7.x-2.10.tar.gz
# *** optional LDAP module ***
#RUN wget https://ftp.drupal.org/files/projects/ldap-7.x-2.5.tar.gz \
# && tar xzfv ldap-7.x-2.5.tar.gz \
# && rm ldap-7.x-2.5.tar.gz
#
# Install menoci modules
#
WORKDIR /var/www/html/sites/all/modules
RUN git clone https://gitlab.gwdg.de/medinfpub/menoci.git \
&& cd menoci && find . -maxdepth 1 -type f -delete && rm -rf .git
#
# All done, set main process user back to root
#
USER root:root
\ No newline at end of file
......@@ -19,13 +19,18 @@ This project is currently maintained by Markus Suhr, markus.suhr@med.uni-goettin
## Contribute
```bash
git clone https://gitlab.gwdg.de/medinfpub/menoci.git
```
1. Fork project
2. Make changes
3. Add your name to the list in [AUTHORS.md](AUTHORS.md) if this
is your first contribution
4. Create pull request
If you encounter any problems, please contact the
current maintainer (see above)
## License
Copyright (C) 2012-2019 menoci contributors
Copyright (C) 2012-2019 menoci contributors, see [AUTHORS.md](AUTHORS.md)
The menoci project source code is licensed
under [GNU General Public License 3.0](https://spdx.org/licenses/GPL-3.0-or-later.html), see [license file](LICENSE)
......
#!/bin/bash
## declare an array variable
declare -a modules=("sfb-commons" "sfb-literature" "rdp-wikidata" "sfb-antibody" "sfb-mouseline" "rdp-archive")
## now loop through the above array
for mod in "${modules[@]}"
do
echo "Processing $mod"
......@@ -11,17 +9,12 @@ do
rm -rf $mod
# Clone repository
git clone git@gitlab.gwdg.de:research-data-platform/$mod
done
#cd rdp-archive && git submodule init cdstar/lib/jwt && git submodule update cdstar/lib/jwt && cd ..
for mod in "${modules[@]}"
do
# echo "Remove .git directory..."
# Remove .git directory
rm -rf $mod/.git*
done
## initialize submodules
rm -rf rdp-archive/cdstar/lib/jwt/
git submodule add https://github.com/firebase/php-jwt rdp-archive/cdstar/lib/jwt/
echo "Done!"
# echo "Done!"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment