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

Changes to generated views to use 'relativeUrlRoot' #594

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dimircea
Copy link

@dimircea dimircea commented May 2, 2014

Add 'relativeUrlRoot' property to configuration file, allowing to set a relative URL when running Geddy apps behind proxies or as sub-folder of a domain/sub-domain.
Next step is to adapt generated routes for scaffolds.

…t view URLs to use it for being able to run Geddy app under proxies pointing to sub-folders.
@mde
Copy link
Contributor

mde commented May 8, 2014

This looks great, but we'll need updates for the other template engines (e.g., Jade, Mustache), before we can merge this to master.

@mde
Copy link
Contributor

mde commented May 8, 2014

Cross reference issue #592

@dimircea
Copy link
Author

dimircea commented May 8, 2014

Ok. I will take care of these changes. One question: how do I enforce "geddy gen app/scaffold" tool(s) to use a specific template engine so I can test these changes ?

@mde
Copy link
Contributor

mde commented May 13, 2014

You can use the -j -H -m and -s options -- it's in the docs for the CLI:

http://geddyjs.org/guide#cli_geddy_gen_[command]_[options]_[arguments]

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.

None yet

2 participants