Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Remove ALL templating from content server #137

Open
smcgregor opened this issue Nov 15, 2014 · 4 comments
Open

Remove ALL templating from content server #137

smcgregor opened this issue Nov 15, 2014 · 4 comments

Comments

@smcgregor
Copy link
Member

We are working to make the site completely static and delivered from the privly-applications repo. This means we should not need any templating on privly-web.

See also: privly/privly-applications#108

@smcgregor
Copy link
Member Author

At this point we have moved enough templating that I am downgrading this to "normal". This issue is higher priority than this one as it will further decrease the importance of removing templating.

@smcgregor smcgregor added Normal and removed Major labels Mar 1, 2015
@smcgregor
Copy link
Member Author

To work on this issue, you should select a page from the views directory. If the page does not need to have something like a confirmation token (which must be rendered in a template) and if the content server does not need to change the page (different countries may require different terms of service and privacy pages), then it can be ported to the pages directory of the Privly-Applications repository. I would recommend starting with the registration and confirmation pages of Devise, but others may be easier to start with.

@qmaruf
Copy link
Contributor

qmaruf commented Jan 6, 2016

So, you want all static pages to be hosted on privly-applications. privly-web should fetch those pages when necessary. Am I right? BTW, I am not sure about how to run privly-application so that privly-web can fetch necessary pages from it.

@smcgregor
Copy link
Member Author

The public/apps/ directory on privly-web is the privly-applications repository. The server automatically serves all of privly-applications.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants