Create New Project
Quick start and guides for creating new project based on Alloy Template.
Replace template names
-
Clone Alloy template. If you already have it, clone a new one to new folder.
DON'T use existing repo, for the reason that it might contains many files generated by build tools, which make the process slow and/or inaccurate. -
Switch to
master
branch. -
Open new-project.ps1 file, update the
to
values for each item insidereplaces
array. -
Open PowerShell, run following command:
& ./new-project.ps1
Check file contents for remaining template names
-
After the command executed successfully, open Notepad++.
-
Go to Search ⟶ Find in files..., or press Ctrl + Shift + F.
-
Input following information:
- Find what: precise|alloy
- Replace with: (empty)
- Directory: (the root folder of the repository)
- Search mode: Regular expression (don't check matches new line)
-
Press Find All. The Search results panel will appears.
-
Please check that no files appear in the result list, except appsettings.Development.json file.