Skip to content

huoxudong125/CarrotCakeCMS-MVC

 
 

Repository files navigation

CarrotCakeCMS-MVC

Source code for CarrotCakeCMS (MVC)

Welcome to the GitHub project for CarrotCake CMS MVC, an open source c# project. CarrotCake is a template-based MVC5 ASP.Net CMS (content management system) built with C#, SQL server, jQueryUI, and TinyMCE. This content management system supports multi-tenant webroots with shared databases.

Source code and documentation is available on SourceForge, GitHub, and CodePlex.

Some features include: blogging engine, configurable date based blog post URLs, blog post content association with categories and tags, assignment/customization of category and tag URL patterns, simple content feedback collection and review, blog post pagination/indexes (with templating support), designation of default blog page (required to make search, category links, or tag links function), URL date formatting patterns, RSS feed support for posts and pages, import and export of site content, and import of content from WordPress XML export files (tested against versions 2.9, 3.0, 3.4, and 3.5).

Other features also include date based release and retirement of content - allowing you to queue up content to appear or disappear from your site on a pre-arranged schedule, site timezone designation, ability to rename the administration folder, and site search. Supports the use of master pages to provide re-use when designing site templates.


CarrotCakeCMS Developer Quick Start Guide

Copyright (c) 2011, 2015 Samantha Copeland Licensed under the MIT or GPL v3 License

CarrotCakeCMS is maintained by Samantha Copeland

Install Development Tools

  1. Visual Studio Community or Express 2013 (ISO VWD 2013 and ISO CE 2013) Professional (or higher) editions OK. VS 2012 mostly OK, the database project won't load, but that's OK because it's just there to maintain a schema history, it is not part of any build event
  2. SQL Server Express 2008 (or higher/later)

Get the Source Code

  1. Go to the repository in a browser

  2. Download either a GIT or ZIP archive or connect using either a GIT or SVN client

Open the Project

  1. Start Visual Studio 2013

  2. Open CarrotCakeMVC.sln solution in the root of the repository

    Note: If your file extensions are hidden, you will not see the ".sln" Other SLN files are demo widgets for how to wire in custom code/extensions

  3. Edit Web.config under CMSAdmin root directory (this coresponds to the CMSAdminMVC project)

    • In the connectionStrings section, configure the CarrotwareCMSConnectionString value to point to your server and the name of your database. Note: the credentials require database owner/dbo level as it will create the database artifacts for you.
    • In the mailSettings, configure the pickupDirectoryLocation to a directory on your development machine (for testing purposes).
  4. Right-click on CMSAdminMVC and select Set as StartUp Project

  5. Right-click on CMSAdminMVC and select Rebuild. The project should download all required NuGet packages and compile successfully

    There may be some warnings, you can ignore them

  6. The SQL Server database should be running and an empty database matching the one specified in the connection string. If you are running the code a second or later time, it will auto update if there are schema changes.

  7. if the database is empty or has pending database changes, you will be greeted with a maintenance screen, follow the link provided.

  8. The first time you start up the website, it will create the required artifacts in the database (tables/views/sprocs etc.)

  9. Click the Play button in the main toolbar to launch CarrotCakeCMS

  10. When you run the website with an empty user database, you will be prompted to create the first user

  11. Once you have created a user, you can go to the login screen, enter the credentials

  12. After successfully logging in, you can create and manage your new website.

Using CarrotCakeCMS

For additional information on how to use CarrotCakeCMS, please see the CarrotCakeCMS Documentation.

About

A template-based ASP.Net MVC CMS built with C#, SQL server, jQueryUI, and TinyMCE. Supports multi-tenant webroot and database.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 71.0%
  • CSS 21.3%
  • JavaScript 7.2%
  • Other 0.5%