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

Sub uri deployment #25

Open
ianwdunlop opened this issue Oct 21, 2015 · 0 comments
Open

Sub uri deployment #25

ianwdunlop opened this issue Oct 21, 2015 · 0 comments

Comments

@ianwdunlop
Copy link
Member

Eli Lilly need to deploy the explorer using a sub uri and a proxy. This requires the sub uri to be used by both the Rails and Ember routes. Also requires the routes to be passed to the JS side without the host details but with full path. This can be achieved by setting the relative_url_root and assets.prefix in the Rails config then passing it to Ember vi a JS global. Also using url_for and the only_path param set to true to generate the routes without hostname in the main app html.

eg var tsvCreateUrl = '<%= url_for controller: "core_api_calls", action: "tab_separated_file", only_path: true -%>?';

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

No branches or pull requests

1 participant