diff --git a/data/markdown/pages/learn/accelerate/xm-cloud/pre-development/sprint-zero/project-solution-setup.md b/data/markdown/pages/learn/accelerate/xm-cloud/pre-development/sprint-zero/project-solution-setup.md index 63cabf94f..1f864aa54 100644 --- a/data/markdown/pages/learn/accelerate/xm-cloud/pre-development/sprint-zero/project-solution-setup.md +++ b/data/markdown/pages/learn/accelerate/xm-cloud/pre-development/sprint-zero/project-solution-setup.md @@ -99,9 +99,9 @@ The solution contains everything to run XM Cloud locally using Docker Containers - The Next.js template it contains `.env` file for managing environment specific connection strings as well as the NextJS application named `sxastarter`. + The Next.js template it contains `.env` file for managing environment specific connection strings as well as the NextJS application named `nextjs-starter`. - Next.JS Foundation Head - Starter Kit + Next.JS Foundation Head - Starter Kit @@ -140,7 +140,7 @@ The platform folder can contain customizations you want to add to the XM Cloud c -The sxastarter folder represents the head application built with NextJS. it contains its own `.env` file. The `src` folder provides already implementation such as a out of the box components but also middleware functionalities such as redirects or personalization. +The nextjs-starter folder represents the head application built with NextJS. it contains its own `.env` file. The `src` folder provides already implementation such as a out of the box components but also middleware functionalities such as redirects or personalization. Please note that the starter template currently uses the page router instead of the newer app router introduced with version 13. @@ -158,7 +158,7 @@ The head application in ASP.NET Core Starter Kit is created using the new Siteco #### Using .env.template -- Rename `.env` to `.env.template` in your solution root +- Rename `.env` to `.env.template` in `local-containers` folder - remove confidential data from `.env.template` - Set `.env` to be ignored by git in `.gitignore` file - update `init.ps1` to copy `.env` from `.env.template` before any of the env variables are set @@ -171,9 +171,9 @@ Based on your framework, rename the project accordingly - - Rename the **sxastarter** Project: + Rename the **nextjs-starter** Project:
    -
  1. Rename `sxastarter` app folder name to your client related application name
  2. +
  3. Rename `nextjs-starter` app folder name to your client related application name
  4. Update the `appName` property in the `package.json` to your Site name field of your site item
  5. In `.env.template`set `COMPOSITE_PROJECT_NAME` to the new appname and set `RENDERING_HOST` to match your new appname
  6. In `init.ps1`
    • change the certificate creation to create certificates according your `RENDERING_HOST` entry
    • change initialization of environment variables to use the `RENDERING_HOST` value
    • make host file adjustments use the host name from `RENDERING_HOST` environment variable
  7. @@ -181,10 +181,9 @@ Based on your framework, rename the project accordingly -
  8. Update the source code path in the `xmcloud.build.json`
  9. In `cert_config.yml` change traefik configuration to match the `app_folder_name`
  10. In `package-lock.json` change name field and packages name field to `app_folder_name`
  11. -
  12. In `render.ts` change the comment from sxastarter to your `app_folder_name`
  13. In `Platform.csproj `change AssemblyName
  14. In `AssemblyInfo.cs` change `AssemblyTitle` and `AssemblyProduct` accordingly
  15. -
  16. Rename Solution File `XMCloudSXAStarter.sln` to what your are using in Assembly configurations.
  17. +
  18. Rename Solution File `XmCloudAuthoring.sln` to what your are using in Assembly configurations.
diff --git a/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.jpeg b/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.jpeg deleted file mode 100644 index 22b93de28..000000000 Binary files a/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.jpeg and /dev/null differ diff --git a/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.png b/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.png new file mode 100644 index 000000000..4402f55e7 Binary files /dev/null and b/public/images/learn/accelerate/xm-cloud/project-solution-setup-solution.png differ