Skip to content

Source of the Nuget using to set up Component Development Environment for Kentico EMS.

License

Notifications You must be signed in to change notification settings

Simply007/ems-mvc-component-development-site-deprecated

Repository files navigation

Kentico EMS Component Development Site

This is a ASP.NET MVC web application with the Kentico EMS Page builder functionality turned on. This repository is used as a source for a nuget package that eriches the component project with an MVC app environment for component development.

⚠️ Disclaimer

This repo is still in development. It is about to be released after the Kentico 12 Service pack is released.

Get started

  1. Download Kentico installation exe file

  2. Install Kentico using the command line.

    • Use provided Kentico installation profile template and define TargetFolder attribute of th IIS tag (:warning: Do not use the same location as the one you have you exe file located)

      • This will install Kentico Administration interface without any site
      • If you wish to adjust the connection to the different database server, adjust the SQL tag in the configuration
      • If you wish to add your license to the instance, adjust the Licenses tag in the configuration XML
      .\Kentico_12_0_trial.exe KenticoInstallationProfile.xml

      If you get an error about already installed program files run command for uninstalling the current program files and then run the previous command again

      .\Kentico_12_0_trial.exe /u
  3. Apply the latest hotfix (or at least 12.0.29) (Service Pack)

  4. Download this repository and extract it under the target folder (TargetFolder) that was defined in previous step

    The content should looks like this

    .
    ├── CMS
    ├── WebApp.sln
    ├── Lib
    ├── DevelopmentSite
    ├── DevelopmentSite.sln
    ├── GlobalAssemblyInfo.cs
    ├── README.md
    └── ...
    
  5. Run the administration instance (already registered in IIS with _Admin suffix) and import the site export package according to the (documentation)

    • This package contains
      • Site (With Presentation URL)
      • Page type (configured for page builder - url pattern / and use tab checkbox)
      • Page by this page type
      • Automatic web farms
  6. Adjust connection strings + hash string salt from /CMS/web.config to [/DevelopmentSite/ConnectionStrings.config] and [/DevelopmentSite/Appsettings.config]

  7. Register Development application in IIS/IIS Express

    • use <TargetFolder>/DevelopmentSite as a Physical path
    • you could use the same Application pool as is set f administration application
  8. Adjust presentation URL in the administration instance according to the registration from the previous step

  9. Build DevelopmentSite in Visual Studio

Analytics

About

Source of the Nuget using to set up Component Development Environment for Kentico EMS.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published