Skip to content

Update headless form to release version, update readme #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
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
Loading