Giter VIP home page Giter VIP logo

training-kentico-k12's Introduction

Kentico CMS/EMS MVC training website

This is an ASP.NET MVC 5 sample project built for the purpose of our Kentico MVC for Developers training.

It is a website of a fictional medical institution named Medio Clinic.

How to run the project

To make the project work, follow these steps:

  1. Make sure your computer meets the system requirements outlined in the documentation.
  2. Clone the repo (git clone https://github.com/Kentico/training-kentico-k12).
  3. Extract either a database backup file out of /Db/MedioClinic.zip or, a database build script out of /Db/MedioClinicSqlScript.zip (if you happen to have an older version of SQL Server).
  4. Start your SQL Server management studio and restore the extracted MedioClinic.bak file.
  5. Register both the administration interface and the Medio Clinic website in IIS.
    • If you register the administration interface as an application that sits under Default Web Site and has a Kentico12_Admin alias, then you won't have to do any adjustments in Visual Studio.
    • The same applies to the Medio Clinic project: If you register it under Default Web Site as Kentico12_MedioClinic, then you should be ready to compile and run.
  6. Open Visual Studio with elevated credentials, open the WebApp.sln solution and build it (Ctrl+Shift+B).
  7. Open the web.config file and adjust the connection string to your SQL Server instance (if your database instance runs on a different machine).
  8. Close the solution.
  9. Open the MedioClinic.sln solution.
    • If you haven't opened Visual Studio with elevated credentials, then you may encounter an error message saying Visual Studio doesn't have access to your local IIS.
    • If you haven't registed the project under Default Web Site as Kentico12_Admin, then you might want to adjust debugging settings through the following steps:
      • Go to the solution explorer
      • Right-click the MedioClinic project
      • Go to the Web tab
      • Under the Servers section > Project Url, set the correct URL according to your IIS configuration.
  10. Build the solution.
  11. Open the /Config/ConnectionStrings.config file to eventually adjust the connection string (in the same way as you did with the administration interface project).

Troubleshooting

If you encounter a problem while going through the course, please let us know either through the course survey or by filing an issue here in GitHub.

training-kentico-k12's People

Contributors

enngage avatar eugenecp avatar lukas-xb avatar petrsvihlik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.