mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
Add CONTRIBUTING.md
This commit is contained in:
34
CONTRIBUTING.md
Normal file
34
CONTRIBUTING.md
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# Contributing
|
||||||
|
|
||||||
|
Every Pull Request is welcome.
|
||||||
|
|
||||||
|
## Upgrading the Version
|
||||||
|
|
||||||
|
To upgrade the LimeSurvey Version the ARG variable needs to be changed.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ grep Agrep ARG apache/Dockerfile
|
||||||
|
ARG version='3.7.0+180418'
|
||||||
|
```
|
||||||
|
|
||||||
|
Since this is a reoccuring and boring task, a script is provided.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Dependencies
|
||||||
|
python3 -m venv .venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
# Upgrades to latest Limesurvey version
|
||||||
|
./upgrade.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
In order to make sure the image works as promised, some tests are provided:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./tests/run.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
For further information: https://github.com/GoogleContainerTools/container-structure-test
|
||||||
Reference in New Issue
Block a user