Recently, because of the course requirements, so contacted Orchard. I read a lot of information, the most useful of course is the official website http://docs.orchardproject.net/
There are many tutorials, the only bad thing is all-English. The inside is very detailed, it is because of the details of the main steps in each course a bit confusing (maybe my english is not very good) ....
So in order to record my study, I opened a blog to write the learning process. Please advise me what is wrong.
Orchard is a Microsoft-developed CMS Open source project. The word is: Orchard is a content management system (or framework) that can help you build your website.
Then there can be many module (function module) can we define the development ourselves.
Installing Orchard
There are several ways to install Orchard first.
First condition:
- ASP. 4.5
- A Web server such as IIS Express 8, 7.5 or IIS 7.x.
IIS this thing on my Computer (Win7) is not installed by default, so you need to manually install it yourself.
Open Control Panel-Programs-turn windows on or off it's going to be a little slow, wait a minute.
Tick, and then wait for the load to be finished!
And then first say I use the kind of success:
Http://orchardproject.net/download
- Download Source extract and then open \orchard\orchard.source\src\orchard.proj with Visual Studio.
Then run or CRTL-F5.
A little slow wait, and then in the browser you can see:
This page represents a success.
2. Using Microsoft Web Platform installer and WebMatrix
The first is to install these two.
Then go to platform search WebMatrix and download it. Then go to the official website to download Orchard.web compressed package, and then unzip to see a Orchard folder, open this folder in WebMatrix.
Then you will see such as:
Click Run in the upper-left corner to see the successful page in your own browser:
Of course. Official documentation also works with IIS Manager to open this page method.
A little trouble, so it's not recommended.
And I can not open with IIS, do not know why, only a blank page, temporarily can't find the reason ....
Build a site
How to fill out the table:
Name of your site: name of your site
User name: username
Password: password
Confirm The password: Confirm password
How would can I get to store your data? (save your data, that is, select a database)
Use built-in data storage (SQL Server Compact) (Orchard comes with)Use an existing SQL Server, SQL Express database (SQL Server and SQL Express take-away databases)Use an existing MySQL database (MySQL take-away databases)Use of an existing PostgreSQL database (PostgreSQL take-away databases)PS: You will need to enter the database connection string (Connection string) data source=sqlservername;initial Catalog=dbname when using a takeaway database; User Id=username; Password=password this should be the formatand database Table prefix fill in the defaultlast item Orchard Recipeofficial website for Orchard recipe is written like this:
The Orchard Setup screen includes a sections where you can choose an Orchard recipe. You can choose from the following Orchard recipes:
- Default. Sets up a site with frequently used Orchard features. (Fill in default to create a site with common Orchard functionality)
- Blog. Sets up a site as a personal blog. (Fill out a blog to build a personal blog)
- Core. Sets up a site of that have only the Orchard framework for development use. (Fill in the core to create a site with only the Orchard framework)
Since I'm too lazy to set it up, choose the option to bring your own database and finally fill in the default. Finally, the following page appears on the success of the first step to build the environment is finished, the next study dashboard
Orchard Study (1)-Environment construction