- On Amazon Linux (see version here http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.platforms.html#concepts.platforms.nodejs)
- Download latest version for Linux/Max from http://etherpad.org/#download
- cd into the unzipped directory
- Create
.ebextensions/custom.config
with the following content (make sure NodeVersion is available in latest EB environment):
option_settings:
aws:elasticbeanstalk:container:nodejs:
NodeCommand: "bin/run.sh"
NodeVersion: "8.12.0"
- Create
src/.npmrc
with the following content:
unsafe-perm = true
- Copy
settings.json.template
tosettings.json
and change port to 8081 - Run
zip -r etherpad.zip ./