-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelixir_buildpack.config
More file actions
21 lines (15 loc) · 896 Bytes
/
elixir_buildpack.config
File metadata and controls
21 lines (15 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Erlang version
erlang_version=21.0
# Elixir version
elixir_version=1.7.1
# Always rebuild from scratch on every deploy?
always_rebuild=false
# A command to run right before compiling the app (after elixir, .etc)
# pre_compile="pwd && curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash \n sudo apt-get install -y nodejs && cd priv/webpack-app && npm install && npm run build && cd ../../ && echo 'Si compile'"
# pre_compile="pwd && rm -rf ~/.nvm && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash && nvm install node && nvm use node && cd priv/webpack-app && npm install && npm run build && cd ../../ && echo 'Si compile'"
pre_compile="pwd"
# A command to run right after compiling the app
post_compile="mix docs"
# Set the path the app is run from
runtime_path=/app
config_vars_to_export=(DATABASE_USERNAME DATABASE_PASSWORD SECRET_KEY_BASE)