Manually install orchard using a zip package

Source: Internet
Author: User
Tags zip folder sql server express visual studio 2010

Original article address: manually installing orchard using a. ZIP file

If you do not want to use Microsoft Web platform installer to install orchard, you can download the orchard zip package, which contains any content you need to use orchard, this article will guide you step by step to manually install orchard using a zip package. For details about how to install orchard using web platform installer, refer to here.

Note: If you plan to use Visual Studio 2010 to develop your orchard site, we recommend that you install Visual Studio and ASP. NET mvc3 tools before installing orchard. If you plan to use webmatrix to develop your site, you may need to take a look at this, including installing Orchard Through web platform installer and webmatrix. In addition, if you have installed the pre-release webmatirx, Asp. net web pages, or ASP. net mvc3, you must first uninstall or update these products to the final version to ensure that orchard runs properly on your computer.

Download zip package

Download the orchard zip package from codeplex and select the final release file named orchard.web.1.x.xx.zip, as shown below:

The downloaded compressed file's orchard folder contains the content of website.

You can use IIS, webmatrix, or IIS express to run orchard, or Visual Studio development server attached to Visual Studio. This site has been compiled and does not require additional compilation.

Run with IIS

When using IIS, extract the orchard folder from the zip package, release it to a virtual directory of IIS, or the root directory, and then use a browser to browse. If you use IIS 7, configure the application to use the integration mode, and the application pool to use. NET Framework Version 4.

You may have to set the read/write permissions for the following directories for the access account of the application pool:

  • Modules. If you want to install modules through Gallery, This is a required configuration. For product websites, we recommend that you remove the read/write permission.
  • Themes. If you want to install themes through Gallery, This is a required configuration. For product websites, we recommend that you remove the read/write permission.
  • App_data. This folder is used to store orchard site settings
  • Media. This folder is used to store orchard media files, images, and so on.

If you want to restore the orchard configuration to the initial state, you can delete the app_data Directory, which will delete all your custom settings, users, and configurations, includes all the data you add to the site. If you decide to delete the app_data folder and include the images you add to the site, you should also delete the media folder.

Run with webmatrix and IIS Express

Unbind the compressed package to the local file system, run webmatirx, click site from folder on the Quick Start interface, find the folder you unbind, select the orchard folder, and then, click Select folder to open the site.

If you run this website, in the file Workspace of webmatirx, select the orchard folder and click the run button. Then a browser is opened.

Use the Visual Studio and Visual Studio developemnt servers

To run in Visual Studio, extract the ZIP file to the local file system, run Visual Studio, and select Open-> Project/solution. Find the decompressed ZIP folder and find the orchard. Web project file in the orchard folder.

Press Ctrl + F5 to run.

Set website

When you run orchard for the first time, you should see the setting interface of orchard.

By default, orchard contains a built-in database. You do not need to install an additional database server. In fact, if you already have an SQL Server or SQL Server Express, you can configure a database connection string to enable orchard to use any of them. In addition, you can enter a table prefix so that multiple orchard instances can exist in the same database.

The setting page also contains a configuration section. You can select orchard to work in the following ways.

  • Default default is a feature that is frequently used by. orchard.
  • Blog blog. personal blog site
  • Core core. It only contains the core of the orchard framework for development.

For more information about the installation method and how to customize the installation method, see making a Web site recipe.

After entering necessary information on the configuration page, click Finish setup. When the website processing is complete, the homepage of your new website should be displayed.

Now that you are on the homepage of the website, you can continue to configure your site.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.