Skip to content

Commit

Permalink
Merge pull request #157 from episerver/release/1.0.0
Browse files Browse the repository at this point in the history
Release/1.0.0
  • Loading branch information
linhhoangOpti authored Oct 4, 2024
2 parents 0bdda99 + 6f7d423 commit b505e68
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 13 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ ref: https://docs.developers.optimizely.com/content-management-system/v1.2.0-for
### Installation
**From Azure Artifacts**

Source https://dev.azure.com/EpiserverEngineering/netCore/_artifacts/feed/headless_forms_beta
Source https://dev.azure.com/EpiserverEngineering/netCore/_artifacts/feed/HeadlessForms

To use packages from Azure Artifacts, configure your project to reference this feed. Create a new text file called .npmrc in the same directory as your package.json, then copy the snippet below.
```
@episerver:registry=https://pkgs.dev.azure.com/EpiserverEngineering/netCore/_packaging/headless_forms_beta/npm/registry/
@episerver:registry=https://pkgs.dev.azure.com/EpiserverEngineering/netCore/_packaging/HeadlessForms/npm/registry/
```
Install from the command line
```
Expand All @@ -28,7 +28,16 @@ Install from the command line
```

**OR** clone source code and install dependencies, then build and view the site on the browser.

#### Sample site structures
This repository contains two sample sites
* Site render using Headless Form Api
- `/samples/ManagementSite` Backend decouples site that hosts the Headless Form API
- `/samples/sample-react-app` Frontend React site that render form using Headless Form API
* Site render using Content Graph
- `/samples/musicfestival-backend-dotnet` Backend site that fully index using Content Graph
- `/samples/musicfestival-frontend-react` Frontend React site that renders the full site, including the Form, using Content Graph

#### Installing and running sample sites
1. Clone repo

```sh
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion samples/ManagementSite/Alloy.ManagementSite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<NoWarn>NU5100;NU1803;NU1605;NU1504;</NoWarn>
<CmsUIVersion>12.30.0</CmsUIVersion>
<CmsCoreVersion>12.21.4</CmsCoreVersion>
<HeadlessFormVersion>1.0.0-pre-541</HeadlessFormVersion>
<HeadlessFormVersion>1.0.0</HeadlessFormVersion>
<ContentApiVersion>12.20.1</ContentApiVersion>
<FormVersion>5.9.0</FormVersion>
</PropertyGroup>
Expand Down
3 changes: 0 additions & 3 deletions samples/ManagementSite/Nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="optimizely" value="https://api.nuget.optimizely.com/v3/index.json" />
<add key="headlessform.local" value="..\NugetPackages\" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
Expand All @@ -17,8 +16,6 @@
<package pattern="EPiServer.Forms.*" />
<package pattern="Optimizely.Cms.*" />
<package pattern="EPiServer.AddOns.*" />
</packageSource>
<packageSource key="headlessform.local">
<package pattern="Optimizely.Cms.Forms.*" />
</packageSource>
</packageSourceMapping>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified samples/musicfestival-backend-dotnet/App_Data/db.mdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<CmsUIVersion>12.30.0</CmsUIVersion>
<CmsCoreVersion>12.21.4</CmsCoreVersion>
<FormVersion>5.9.0</FormVersion>
<HeadlessFormVersion>1.0.0-pre-541</HeadlessFormVersion>
<HeadlessFormVersion>1.0.0</HeadlessFormVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions samples/musicfestival-backend-dotnet/nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="optimizely" value="https://nuget.optimizely.com/feed/packages.svc/" />
<add key="headlessform.local" value="..\NugetPackages\" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
Expand All @@ -16,8 +15,6 @@
<package pattern="EPiServer.Forms.*" />
<package pattern="EPiServer.Forms" />
<package pattern="EPiServer.AddOns.*" />
</packageSource>
<packageSource key="headlessform.local">
<package pattern="Optimizely.Headless.*" />
</packageSource>
</packageSourceMapping>
Expand Down

0 comments on commit b505e68

Please sign in to comment.