forked from marklogic-community/Corona
Installation
isubiker edited this page Nov 2, 2012
·
7 revisions
Installing Corona is fairly simple, and is essentially the same on Windows, Linux, Mac, and Solaris:
- Download the latest Corona source and unzip it into a directory where you'd like the code to live.
- If you don't have a HTTP server configured in MarkLogic, create one.
To create an HTTP server for Corona to live on, open your browser to the administrative port (port 8001). In the navigation on the left, click
Groups
->Default
->App Servers
. On this page there are a number of tabs at the top/center of the page, click on theCreate HTTP
tab. - Enter in a
name
andport
for the HTTP server. Set theroot
of the server to the directory where you put the Corona source in step 1. - Once you've created your HTTP sever, load
http://<my-sever>:<port>/config/setup
and follow the instructions. This needs to be run as a MarkLogic admin user!
After that you should be ready to start using Corona.
As a side note, the URL rewriter is configured in the config/endpoints.xqy
file. You can change the URL structure or add in more rules if need be there.