Installation guide

This article will guide you through the installation and initial configuration of ReFlex CMS.

System Requirements

Installation

The software is supplied as a zip file containing a Visual Studio 2008 solution made up of each ReFlex library as an individual project, and a web application project called Website which provides all files for the ReFlex CMS content controls, console and content config controls, and the ReFlex CMS administration system.

First unzip the zip file, then follow these steps to install the database and configure the application to connect to it.

Installing the database

The \Database\Sql2005.sql file included is an SQL Server 2005 script. You will need to be logged in to the SQL Server as a user with the appropriate privileges to install the database.

To install on your SQL Server / SQL Server Express 2005+ database installation follow these steps:

In SQL Management Studio, do the following

  1. Create a new database called reflex (or a database name of your choice)
  2. Open the Sql2005.sql script
  3. Choose your new database in the toolbar as the active database
  4. Click the Execute button to run the script
  5. Add a new user to the database with datareader and datawriter roles and note the username and password

Configuring the application

  1. Open the solution in Visual Studio 2008+ (if you wish to use Visual Web Developer Express 2008+, please contact support if you are unsure how to set the source up as a website)
  2. Within the Website project, edit the Web.Config file and adjust the ReFlexDatabase connection string appropriately to access the database
  3. Run the solution by pressing F5
  4. You should be greeted by the setup page in the browser, choose a username and password and continue, you should now be greeted by the homepage.

File manager permissions

To enable the ReFlex CMS to upload and remove files from the resource path, you must set Windows Modify permission for the Network Service user on the appropriate directory.

By default this directory is ~/Site/Resources.

If you have changed the value for appSettings/ReFlexFileManagerRootPath, you should set the permissions on the path you have chosen.

It is always also best practice to disable execute permissions through IIS on this directory and its children to avoid users being able to upload and execute scripts.