Skip to content

Remove webpack call from env.sh template#13

Merged
astrotars merged 1 commit intoGetStream:masterfrom
napcs:napcs-webpack-fix
Aug 24, 2016
Merged

Remove webpack call from env.sh template#13
astrotars merged 1 commit intoGetStream:masterfrom
napcs:napcs-webpack-fix

Conversation

@napcs
Copy link
Contributor

@napcs napcs commented Aug 24, 2016

The env.sh template creates env.sh on the prod server and runs as root. This fires webpack in the app folder but creates the app/public/js/app.js folder with root permissions.

env.sh is sourced during deployment in web.tpl, causing the wrong permissions to be applied. Removing these lines from this template solves the issue.

The `env.sh` template creates `env.sh` on the prod server and runs as root. This fires webpack in the `app` folder but creates the `app/public/js/app.js` folder with `root` permissions. 

`env.sh` is sourced during deployment in `web.tpl`, causing the wrong permissions to be applied. Removing these lines from this template solves the issue.
@astrotars astrotars merged commit a544d32 into GetStream:master Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants