While there's plenty of Sitecore information available in Japanese, knowing where to start can be challenging. For our first post of the year, we'll show you how to quickly create a new project.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7qYLiaubx0qvsjkeUZA5vI%2Ff3d71e3a709952886a3213eff4716658%2Fnewproject03.png&w=3840&q=75)
Preparation for Template Creation
Various samples are available on the Internet, and it is easy to get started by bringing code from GitHub, but this flow will introduce what a plain project looks like and how to work from there. The following page from an online article will be used as a basis for the process.
First, run the following commands from the PowerShell command line with administrative privileges to make the template available
dotnet new install Sitecore.DevEx.Templates --nuget-source https://sitecore.myget.org/F/sc-packages/api/v3/index.json
The execution results are as follows
![newproject01.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5JzxobH7nuTwwt73zw8qZM%2Fe778f51f056dfe960b5d1762a1588d6e%2Fnewproject01.png&w=3840&q=75)
The results of the execution are as follows.
テンプレート名 短い名前 言語 タグ
----------------------------------------------------- ------------------------------ ---------- --------
Sitecore Simple Container-based ASP.NET Core Solution sitecore.aspnet.gettingstarted [C#] Sitecore
Sitecore Simple Container-based Next.js Solution sitecore.nextjs.gettingstarted JavaScript Sitecore
You can select either C# or JavaScript as the project type. You are now ready to create a new project.
Create a new project
You want to create a new project. Go to any directory (`c:\projects` at hand) and execute the following command
dotnet new sitecore.nextjs.gettingstarted -n DockerStarter
After a few moments of execution, you will be asked if you want to run dotnet tool restore. Press `Y` to proceed.
![newproject02.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F6yFzuDTIrLogO14obSNFq3%2F5c971ba4bfd3d65bd1dee5ad5d1cbeca%2Fnewproject02.png&w=3840&q=75)
Then the text will be garbled. The display here indicates whether or not to run the commands to create the Next.js project. For reference, the display in English is as follows.
![newproject03.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7qYLiaubx0qvsjkeUZA5vI%2Ff3d71e3a709952886a3213eff4716658%2Fnewproject03.png&w=3840&q=75)
In this case, we will select `N` to proceed, since our goal is to first set up an instance of XM1.
See what's in the project
Check the structure of the project you have created. First, there are folders such as docker folder, src folder, etc. In the src folder, you can see that Visual Studio project files, etc. have been created.
![newproject04.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3rU7t7wSSpR1QlbQZkfQx6%2F37e0f1c19a73ed21658f61a80de30b5d%2Fnewproject04.png&w=3840&q=75)
In the Docker folder, you can see that dockerfiles have been prepared for many instances of Sitecore.
![newproject05.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5fuFZIkv3zJ4mx8lcpT8WY%2Fb60a337924922f4958f251d63d0a8d7f%2Fnewproject05.png&w=3840&q=75)
Under the Run folder, you will find the docker-compose.xml file for use with XM1 and XP1.
![newproject06.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4m6WDRwY8WnXWZgXmmH1Rs%2Fb742a76c587d536f3d93fa068108bb86%2Fnewproject06.png&w=3840&q=75)
By using this template, you can see that it contains the necessary resources to launch locally using Docker, not just XM1.
Summary
In this case, we used the command to create a project about Sitecore's Next.js. However, there are a few more preparations that need to be made in order to get it up and running. In the next article, we will perform the additional work necessary to get it up and running in the XM1 configuration.