EAVFW.Templates
1.0.5
See the version list below for details.
dotnet new install EAVFW.Templates::1.0.5
EAVFW
Cool get started ReadMe
Install framework
From the root of the project run:
dotnet new --install .\templates\EAVFW\
then also run:
dotnet new --install .\templates\EAVFW.NextJS\
Uninstall framework (to reinstall it)
dotnet new --uninstall .\templates\EAVFW\
Apply the template in another folder
At a folder on the same level as the template folder, run:
dotnet new eavfw
or
dotnet new eavfw --namespace "<customerAcronym>" --appName "<myApp>" --databaseName "<mainDatabase1>"
where
<customerAcronym>
could be an acrynom for the customer organisation.<myApp>
could be the name of the app.<mainDatabase1>
could be the desired name for the database schema.
Example: dotnet new eavfw --namespace "MyOrg001" --appName "MyEAVTestApp001" --databaseName "MyEAVTestAppDatabase001"
<br> For information about the parameters, run:
dotnet new eavfw -h
Overall guide for starting a new EAV project from this Template
https://github.com/EAVFW/EAVFW/wiki
Guide for setting up base project
(*step 1 to 3 is the same as above section Apply the template in another folder)
- Step 1 Make a new directory at the same level as the cloned EAVFW.Templates. This directory will become the root directory for the generated EAV project. (e.g. a new directory called "MyEAV001" located in the "dev" directory)
- Step 2: Open a CLI in the root of the new directory.
- Step 3: Start the new project by using
dotnet new eavfw --namespace "<customerAcronym>" --appName "<MyApp>" --databaseName "<DatabaseName>"
. Where:<customerAcronym>
represents an acronym or short name for the customer for which the solution will be developed.<MyApp>
represents the name of the app project in the solution.<DatabaseName>
represents the name of the main database schema. (e.g.dotnet new eavfw --namespace "MyOrg001" --appName "MyEAVTestApp001" --databaseName "MyEAVTestAppDatabase001"
)
- Step 4: When applying the framework the CLI output will request confirmation for the usage of different tools and extensions. You most likely want to accept all of them (
y
and hit enter when prompted). - Step 5: Open the project in an IDE (can be done simply be opening the .csproj file, from the newly created directory containing the solution, in VS).
- Step 6: After the project has completed opening. Rebuild the solution twice. Then build the solution twice.
Guide for setting up for web
- Step 1: Open a CLI in the root of the repository created in Guide for setting up base project
- Step 2: Generate the web files using
npm run eav-nextjs
. - Step 3: Install the needed dependencies using
npm install --force
- Step 3.5: If not already done as part of applying the template, run
npm run gm
to generate the manifest. - Step 4: Navigate to the web portal in the CLI. Can be done using
cd .\apps\<customerAcronym>.<MyApp>
where <customerAcronym> and <MyApp> is replaced by the names you chose in part 1 (you can click tab in most CLIs to get suggestions). - Step 5: Build the web project with
npm run build
. This should build and export the files required for the web portal to run.
When developing
If changes are made to the template it can be necessary to refresh cache for the cmd window or terminal used to apply the template:
dotnet new --debug:rebuildcache
Developing on the newly created project
See documentation in the newly created projects README located in the 'Solution Items' folder. Or go to https://github.com/EAVFW/EAVFW/wiki.
-
.NETCoreApp 3.1
- Microsoft.TemplateEngine.Abstractions (>= 6.0.201)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.2.4 | 98 | 8/8/2024 |
2.2.3 | 105 | 7/9/2024 |
2.2.2 | 97 | 7/2/2024 |
2.2.1 | 100 | 6/25/2024 |
2.2.0 | 82 | 6/25/2024 |
2.1.9 | 113 | 5/31/2024 |
2.1.8 | 144 | 4/30/2024 |
2.1.7 | 94 | 4/24/2024 |
2.1.7-dev.1 | 55 | 4/24/2024 |
2.1.6 | 97 | 4/24/2024 |
2.1.6-dev.5 | 1,250 | 2/1/2024 |
2.1.6-dev.4 | 226 | 1/25/2024 |
2.1.6-dev.3 | 122 | 1/22/2024 |
2.1.6-dev.2 | 682 | 12/28/2023 |
2.1.6-dev.1 | 72 | 12/28/2023 |
2.1.5 | 1,066 | 11/28/2023 |
2.1.4 | 1,205 | 10/19/2023 |
2.1.3 | 696 | 10/2/2023 |
2.1.2 | 768 | 2/3/2023 |
2.1.1 | 246 | 2/1/2023 |
2.1.0 | 280 | 1/31/2023 |
2.1.0-dev.1 | 103 | 1/31/2023 |
2.0.0 | 527 | 10/5/2022 |
2.0.0-dev.1 | 93 | 10/5/2022 |
1.4.0-dev.2 | 105 | 10/3/2022 |
1.4.0-dev.1 | 129 | 9/28/2022 |
1.3.2 | 378 | 9/30/2022 |
1.3.1 | 405 | 9/25/2022 |
1.3.0 | 421 | 9/25/2022 |
1.2.1 | 458 | 9/25/2022 |
1.2.0 | 444 | 9/25/2022 |
1.1.0 | 426 | 9/24/2022 |
1.0.17 | 434 | 8/7/2022 |
1.0.16 | 414 | 8/6/2022 |
1.0.15 | 429 | 8/6/2022 |
1.0.14 | 418 | 8/6/2022 |
1.0.13 | 435 | 8/6/2022 |
1.0.12 | 430 | 8/6/2022 |
1.0.11 | 384 | 8/5/2022 |
1.0.10 | 381 | 8/5/2022 |
1.0.9 | 394 | 8/5/2022 |
1.0.8 | 414 | 8/5/2022 |
1.0.7 | 445 | 8/5/2022 |
1.0.6 | 420 | 8/5/2022 |
1.0.5 | 409 | 8/5/2022 |
1.0.4 | 381 | 8/5/2022 |