Commit 04662bcd authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt
Browse files

improves documentation for composer

parent 001c6b02
......@@ -2,12 +2,24 @@
## ter.typo3.org
### Prerequisites
Make sure to have an instance of [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) running locally.
[docker engine](https://docs.docker.com/engine/installation/)
Make sure to have an instance of [jwilder/nginx-proxy](https://github.com/jwilder/nginx-proxy) running on your development box.
An easy way to get it up and running is using [torvitas/nginx-proxy-configuration](https://github.com/torvitas/docker-nginx-proxy-configuration).
### Quickstart
```
`
git clone https://git-t3o.typo3.org/t3o/ter.git
make init up log
```
`
... and finally [click here](https://ter.typo3.127.0.0.1.xip.io)
### Composer
Example:
`
./data/scripts/composer.sh --working-dir=data/typo3/ info
`
For your convenience there are the following make jobs:
`
make composer-install
make composer-update
`
......@@ -10,15 +10,20 @@
#
# You can add additional volumes (or any docker run options) using
# the $COMPOSER_OPTIONS environment variable.
#
COMPOSER_OPTIONS=${COMPOSER_OPTIONS:-}
# You can set the composer cache directory using the $COMPOSER_CACHE
# environment variable.
COMPOSER_CACHE=${COMPOSER_CACHE:-/tmp/composer}
# You can set the ssh key to be used using the $SSH_IDENTITY_FILE
# environment variable.
SSH_IDENTITY_FILE=${SSH_IDENTITY_FILE:-~/.ssh/id_rsa}
set -e
VERSION="1.2-alpine"
IMAGE="composer/composer:$VERSION"
SSH_IDENTITY_FILE=${SSH_IDENTITY_FILE:-~/.ssh/id_rsa}
COMPOSER_CACHE=${COMPOSER_CACHE:-/tmp/composer}
# Setup volume mounts for composer config, context and ssh keys
if [ "$(pwd)" != '/' ]; then
......
Supports Markdown
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