Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
04662bcd
Commit
04662bcd
authored
Nov 13, 2016
by
Sascha Marcel Schmidt
Browse files
improves documentation for composer
parent
001c6b02
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
04662bcd
...
...
@@ -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
`
data/scripts/composer.sh
View file @
04662bcd
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment