This project is read-only.
3

Closed

Single install & run for NO & RO

description

Now that we have merged the two code bases, it would also be possible to create a single install and have a single (MVC) run project that offered both the MVC UI and the RO API. Indeed that could become the default for the MVC install (but with a simple option on the Run class to disable the RO API if not wanted). There would remain a separate RO-only install.

This would make it easier for anyone that wanted to write custom JavaScript that made Ajax calls to the RO server.
Closed Mar 21, 2014 at 4:30 PM by RichardPawson

comments

RichardPawson wrote Jan 15, 2014 at 4:32 PM

I think that we should simply make the MVC package include RO by default. However, for security reasons, activating the RO API should require the developer to set a flag explicitly (e.g. in config). Also, perhaps give developer easy way to specify the url for the RO API.

scascarini wrote Jan 21, 2014 at 4:22 PM

MVC FreshInstall now installs RO as a dependency. Setting a string for the rest api address will enable the rest api. (It is disabled by default).