Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install-site.sh runs service in development mode for a production install #2392

Closed
garethrees opened this issue Apr 28, 2015 · 1 comment
Closed
Labels
bug Breaks expected functionality f:framework re-user-experience

Comments

@garethrees
Copy link
Member

Running

$ ./install-site.sh --default alaveteli alaveteli 192.168.33.155

Gives

$ cat /etc/init.d/alaveteli | grep RAILS_ENV
RAILS_ENV=development

Need to pass in the rails env when generating the init script https://github.com/mysociety/alaveteli/blob/rails-3-develop/script/site-specific-install.sh#L209-L215

@garethrees garethrees added bug Breaks expected functionality re-user-experience 1 - new labels Apr 28, 2015
garethrees added a commit to mysociety/alaveteli-capistrano-vm that referenced this issue May 29, 2015
Bug in the install scripts that creates the alaveteli service definition
with development RAILS_ENV rather than production RAILS_ENV.

mysociety/alaveteli#2392
@garethrees garethrees removed their assignment Jun 7, 2016
@garethrees garethrees added bug Breaks expected functionality f:framework labels May 29, 2018
@garethrees
Copy link
Member Author

I think this got fixed by #6052 - will reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks expected functionality f:framework re-user-experience
Projects
None yet
Development

No branches or pull requests

3 participants