Skip to content

Commit ec4f306

Browse files
authored
Releasing beta1
2 parents 4192589 + 5102bab commit ec4f306

File tree

311 files changed

+2620
-1307
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+2620
-1307
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@ script:
2525
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS";
2626
docker push orchardproject/orchardcore-cms-linux;
2727
fi;
28+
- if [[ "$TRAVIS_BRANCH" == "dev" ]] && [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
29+
cd $TRAVIS_BUILD_DIR/src/OrchardCore.Cms.Web;
30+
dotnet publish -c Release -o $TRAVIS_BUILD_DIR/.build/release;
31+
cd $TRAVIS_BUILD_DIR;
32+
docker build -t orchardproject/orchardcore-cms-linux:dev .;
33+
docker login -u="$DOCKER_USER" -p="$DOCKER_PASS";
34+
docker push orchardproject/orchardcore-cms-linux;
35+
fi;
2836
- if test "$TRAVIS_OS_NAME" == "linux"; then dotnet test -c Release ./test/OrchardCore.Tests/OrchardCore.Tests.csproj; fi

.vscode/launch.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
"type": "coreclr",
77
"request": "launch",
88
"preLaunchTask": "Web App: Dotnet Build Debug",
9-
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Debug/netcoreapp1.1/OrchardCore.Cms.Web.dll",
9+
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Debug/netcoreapp2.0/OrchardCore.Cms.Web.dll",
1010
"args": [],
1111
"cwd": "${workspaceRoot}/src/OrchardCore.Cms.Web",
12+
"env": {
13+
"ASPNETCORE_ENVIRONMENT": "Development"
14+
},
1215
"stopAtEntry": false
1316
},
1417
{
@@ -17,9 +20,12 @@
1720
"request": "launch",
1821
"internalConsoleOptions": "openOnSessionStart",
1922
"preLaunchTask": "Web App: Dotnet Build Debug",
20-
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Debug/netcoreapp1.1/OrchardCore.Cms.Web.dll",
23+
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Debug/netcoreapp2.0/OrchardCore.Cms.Web.dll",
2124
"args": [],
2225
"cwd": "${workspaceRoot}/src/OrchardCore.Cms.Web",
26+
"env": {
27+
"ASPNETCORE_ENVIRONMENT": "Development"
28+
},
2329
"stopAtEntry": false,
2430
"launchBrowser": {
2531
"enabled": true,
@@ -41,7 +47,7 @@
4147
"type": "coreclr",
4248
"request": "launch",
4349
"preLaunchTask": "Web App: Dotnet Build Release/admin",
44-
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Release/netcoreapp1.1/OrchardCore.Cms.Web.dll",
50+
"program": "${workspaceRoot}/src/OrchardCore.Cms.Web/bin/Release/netcoreapp2.0/OrchardCore.Cms.Web.dll",
4551
"args": [],
4652
"cwd": "${workspaceRoot}/src/OrchardCore.Cms.Web",
4753
"stopAtEntry": false,

.vscode/tasks.json

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,6 @@
1515
"taskName": "Dotnet Restore Force",
1616
"args": [ "dotnet restore --no-cache" ]
1717
},
18-
{
19-
"taskName": "Solution: Dotnet Build Debug",
20-
"args": [ "dotnet build src/**/project.json -c Debug" ],
21-
"problemMatcher": "$msCompile"
22-
},
23-
{
24-
"taskName": "Solution: Dotnet Rebuild Debug",
25-
"args": [ "dotnet build src/**/project.json --no-incremental -c Debug" ],
26-
"problemMatcher": "$msCompile"
27-
},
28-
{
29-
"taskName": "Solution: Dotnet Build Release",
30-
"args": [ "dotnet build src/**/project.json -c Release" ],
31-
"problemMatcher": "$msCompile"
32-
},
3318
{
3419
"taskName": "Web App: Dotnet Build Debug",
3520
"args": [ "dotnet build ${workspaceRoot}/src/OrchardCore.Cms.Web -c Debug" ],

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# A prerequisite is a published application in the .build/release
33

44
FROM microsoft/dotnet:2.0-runtime
5-
WORKDIR /app
65

6+
EXPOSE 80
7+
ENV ASPNETCORE_URLS http://+:80
8+
9+
WORKDIR /app
710
COPY .build/release .
811

9-
ENV ASPNETCORE_URLS http://+:80
10-
ENTRYPOINT ["dotnet", "OrchardCore.Cms.Web.dll"]
11-
EXPOSE 80
12+
ENTRYPOINT ["dotnet", "OrchardCore.Cms.Web.dll"]
File renamed without changes.

README.md

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,34 @@
22

33
Orchard Core is a re-implementation of [Orchard CMS](https://github.com/OrchardCMS/Orchard) in [ASP.NET Core](http://www.asp.net/vnext). You can check out the [Orchard Core presentation from the last Orchard Harvest](https://www.youtube.com/watch?v=TK6a_HfD0O8) to get an introductory overview of its features and goals.
44

5-
[![Join the chat at https://gitter.im/OrchardCMS/Orchard2](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/OrchardCMS/Orchard2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
5+
[![Join the chat at https://gitter.im/OrchardCMS/OrchardCore](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/OrchardCMS/OrchardCore?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
66
[![BSD-3-Clause License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)](LICENSE.txt)
77
[![Documentation](https://readthedocs.org/projects/orchardcore/badge/)](https://orchardcore.readthedocs.io/en/latest/)
88

99

10-
1110
## Build Status
1211

13-
[![Build Status](https://img.shields.io/travis/OrchardCMS/OrchardCore.svg?label=travis-ci&branch=master&style=flat-square)](https://travis-ci.org/OrchardCMS/OrchardCore/branches)
12+
Stable (master):
13+
14+
[![Build Status](https://api.travis-ci.org/OrchardCMS/OrchardCore.svg?branch=master)](https://travis-ci.org/OrchardCMS/OrchardCore/branches)
1415
[![Build status](https://img.shields.io/appveyor/ci/alexbocharov/orchard2/master.svg?label=appveyor&style=flat-square)](https://ci.appveyor.com/project/alexbocharov/orchard2/branch/master)
16+
[![NuGet](https://img.shields.io/nuget/v/OrchardCore.Application.Cms.Targets.svg)](https://www.nuget.org/packages/OrchardCore.Application.Cms.Targets)
17+
18+
Nightly (dev):
19+
20+
[![Build Status](https://api.travis-ci.org/OrchardCMS/OrchardCore.svg?branch=dev)](https://travis-ci.org/OrchardCMS/OrchardCore/branches)
21+
[![Build status](https://img.shields.io/appveyor/ci/alexbocharov/orchard2/dev.svg?label=appveyor&style=flat-square)](https://ci.appveyor.com/project/alexbocharov/orchard2/branch/dev)
22+
[![MyGet](https://img.shields.io/myget/orchardcore-preview/vpre/OrchardCore.Application.Cms.Targets.svg)](https://myget.org/feed/orchardcore-preview/package/nuget/OrchardCore.Application.Cms.Targets)
1523

1624
## Orchard CMS
1725

1826
Orchard is a free, [open source](https://github.com/OrchardCMS/Orchard), community-focused Content Management System built on the ASP.NET MVC platform.
1927

2028
## Status
2129

22-
### Alpha
30+
### Beta
2331

24-
The software is complete enough for internal testing. This is typically done by people other than the software engineers who wrote it, but still within the same organization or community that developed the software.
32+
The software is complete enough for external testing -- that is, by groups outside the organization or community that developed the software. Beta software is usually feature complete, but may have known limitations or bugs. Betas are either closed (private) and limited to a specific set of users, or they can be open to the general public.
2533

2634
Here is a more detailed [roadmap](https://github.com/OrchardCMS/OrchardCore/wiki/Roadmap).
2735

@@ -32,9 +40,7 @@ Here is a more detailed [roadmap](https://github.com/OrchardCMS/OrchardCore/wiki
3240
### Command line
3341

3442
- Install the latest versions (current) for both Runtime and SDK of .NET Core from this page https://www.microsoft.com/net/download/core
35-
- Call `dotnet restore`.
36-
- Call `dotnet build`.
37-
- Next navigate to `D:\OrchardCore\src\OrchardCore.Cms.Web` or wherever your respective folder is on the command line in Administrator mode.
43+
- Navigate to `D:\OrchardCore\src\OrchardCore.Cms.Web` or wherever your respective folder is on the command line in Administrator mode.
3844
- Call `dotnet run`.
3945
- Then open the `http://localhost:5000` URL in your browser.
4046

@@ -44,6 +50,12 @@ Here is a more detailed [roadmap](https://github.com/OrchardCMS/OrchardCore/wiki
4450
- Open `OrchardCore.sln` and wait for Visual Studio to restore all Nuget packages
4551
- Ensure `OrchardCore.Cms.Web` is the startup project and run it
4652

53+
### Docker
54+
55+
- Run `docker run --name orchardcms orchardproject/orchardcore-cms-linux:latest`
56+
57+
Docker images and parameters can be found at https://hub.docker.com/u/orchardproject/
58+
4759
### Contributing
4860

4961
We currently follow the these [engineering guidelines](https://github.com/OrchardCMS/OrchardCore/wiki/Engineering-Guidelines).

appveyor.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ environment:
88
secure: 2a9QfyDw5J1NDZD80kMwhQ==
99
DOCKER_PASS:
1010
secure: aLjaywnziVFcRa3uZ8iMteFDjA1wp0fSaPMaBE55LO4=
11+
MYGET_API_KEY:
12+
secure: 8Fp2ETunhU6PvhlotuQXTZ7WkG1FikJ3BM7YLAZyfmbpy00knABu5yL7MhJ9uNcl
13+
NUGET_API_KEY:
14+
secure: bR0JuO8NuLOxL18tQ7ZtQXOHNHjqCJXlkUOzEyNQniptTszwYcwufYhKTyoybqei
15+
1116
# Install scripts. (runs after repo cloning)
1217
install:
1318
# Download .NET Core 2.0 SDK and add to PATH
@@ -21,15 +26,16 @@ install:
2126
# Get the latest stable version of Node.js or io.js
2227
- ps: Install-Product node $env:nodejs_version
2328
- ps: $env:BuildNumber= $env:APPVEYOR_BUILD_NUMBER
29+
- ps: $IsMasterBranch = ($env:APPVEYOR_REPO_BRANCH -eq "master" -And -not $env:APPVEYOR_PULL_REQUEST_NUMBER)
30+
- ps: $IsDevBranch = ($env:APPVEYOR_REPO_BRANCH -eq "dev" -And -not $env:APPVEYOR_PULL_REQUEST_NUMBER)
2431
init:
2532
- git config --global core.autocrlf true
2633
build_script:
2734
- dotnet --version
28-
- dotnet restore
29-
- dotnet pack -c Release
35+
- ps: if (($IsMasterBranch -eq $true) -or ($IsDevBranch -eq $true)) { dotnet pack -c Release }
3036

3137
- ps: |
32-
if ($env:APPVEYOR_REPO_BRANCH -eq "master" -And -not $env:APPVEYOR_PULL_REQUEST_NUMBER)
38+
if ($IsMasterBranch -eq $true)
3339
{
3440
cd $env:APPVEYOR_BUILD_FOLDER\src\OrchardCore.Cms.Web
3541
dotnet publish -c Release -o $env:APPVEYOR_BUILD_FOLDER\.build\release
@@ -39,18 +45,24 @@ build_script:
3945
docker push orchardproject/orchardcore-cms-windows
4046
}
4147
48+
if ($IsDevBranch -eq $true)
49+
{
50+
cd $env:APPVEYOR_BUILD_FOLDER\src\OrchardCore.Cms.Web
51+
dotnet publish -c Release -o $env:APPVEYOR_BUILD_FOLDER\.build\release
52+
cd $env:APPVEYOR_BUILD_FOLDER
53+
docker build -t orchardproject/orchardcore-cms-windows:dev .
54+
docker login -u="$env:DOCKER_USER" -p="$env:DOCKER_PASS"
55+
docker push orchardproject/orchardcore-cms-windows
56+
}
57+
4258
test_script:
4359
- dotnet test -c Release .\test\OrchardCore.Tests\OrchardCore.Tests.csproj
4460
clone_depth: 1
4561
test: on
62+
4663
artifacts:
4764
- path: 'src\**\*.nupkg'
48-
deploy:
49-
on:
50-
branch: master
51-
provider: NuGet
52-
server: https://www.myget.org/F/orchardcore-preview/api/v2/package
53-
api_key:
54-
secure: 8Fp2ETunhU6PvhlotuQXTZ7WkG1FikJ3BM7YLAZyfmbpy00knABu5yL7MhJ9uNcl
55-
skip_symbols: true
56-
artifact: /.*\.nupkg/
65+
66+
deploy_script:
67+
- ps: if ($IsMasterBranch -eq $true) { foreach ($artifactName in $artifacts.keys) { nuget push $artifacts[$artifactName].path $env:NUGET_API_KEY -Source https://www.nuget.org/api/v2/package } }
68+
- ps: if ($IsDevBranch -eq $true) { foreach ($artifactName in $artifacts.keys) { nuget push $artifacts[$artifactName].path $env:MYGET_API_KEY -Source https://www.myget.org/F/orchardcore-preview/api/v2/package } }

mkdocs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ repo_url: https://github.com/OrchardCMS/OrchardCore
77

88
# Options
99
docs_dir: src
10-
extra_css: []
10+
11+
extra_css:
12+
- docs/css/extra.css
13+
1114
extra_javascript:
1215
- docs/js/extra.js
1316

@@ -30,13 +33,15 @@ pages:
3033
- Content Fields: OrchardCore.Modules/OrchardCore.ContentFields/README.md
3134
- Content Preview: OrchardCore.Modules/OrchardCore.ContentPreview/README.md
3235
- Content Types: OrchardCore.Modules/OrchardCore.ContentTypes/README.md
36+
- Lists: OrchardCore.Modules/OrchardCore.Lists/README.md
3337
- Markdown: OrchardCore.Modules/OrchardCore.Markdown/README.md
3438
- Media: OrchardCore.Modules/OrchardCore.Media/README.md
3539
- Menu: OrchardCore.Modules/OrchardCore.Menu/README.md
3640
- Navigation: OrchardCore.Modules/OrchardCore.Navigation/README.md
3741
- Indexing: OrchardCore.Modules/OrchardCore.Indexing/README.md
3842
- Lucene: OrchardCore.Modules/OrchardCore.Lucene/README.md
3943
- Queries: OrchardCore.Modules/OrchardCore.Queries/README.md
44+
- Templates: OrchardCore.Modules/OrchardCore.Templates/README.md
4045
- Liquid: OrchardCore.Modules/OrchardCore.Liquid/README.md
4146
- Custom Settings: OrchardCore.Modules/OrchardCore.CustomSettings/README.md
4247
- Core Modules:

0 commit comments

Comments
 (0)