Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Setup Development Mode
Radiant has a special mode to render your site with all pages with “draft” status. This feature is called Development mode. (Note: This is not the same as the Rails development environment)
To activate it you simply alias your application’s domain with a
dev subdomain, so if your normal site is at
www.example.com then create a DNS entry for
dev.example.com pointing to the same IP address.
Radiant will detect access to the site using the development subdomain and render your “draft” pages automatically!
To change the subdomain name from
dev, at the command prompt change to the Radiant directory and run
script/console and enter this command:
Radiant::Config['dev.host'] = 'preview.example.com'