Skip to content

Commit

Permalink
docs: simplify template instantiation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Dec 23, 2023
1 parent d93e8b7 commit c4e9cb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Coalesce is a framework for rapid-development of ASP.NET Core + Vue.js web appli

The best way to get started with Coalesce is using the `dotnet new` template:

* [Vue](https://github.com/IntelliTect/Coalesce.Vue.Template): `dotnet new install IntelliTect.Coalesce.Vue.Template; dotnet new coalescevue`
* [Vue](https://github.com/IntelliTect/Coalesce.Vue.Template): `dotnet new install IntelliTect.Coalesce.Vue.Template; dotnet new coalescevue -o MyCompany.MyApp`

This command will use the current folder name for the project names, namespaces, etc. It will create a solution in the current folder with .Data and .Web projects.

Expand Down
2 changes: 1 addition & 1 deletion docs/stacks/agnostic/getting-started-modeling.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

At this point, you can open up the newly-created solution in Visual Studio and run your application. However, your application won't do much without a data model, so you will probably want to do the following before running:

- Create an initial [Data Model](/modeling/model-types/entities.md) by adding EF entity classes to the data project and the corresponding `DbSet<>` properties to `AppDbContext`. You will notice that the starter project includes a single model, `ApplicationUser`, to start with. Feel free to change this model or remove it entirely. Read [Entity Models](/modeling/model-types/entities.md) for more information about creating a data model.
- Create an initial [Data Model](/modeling/model-types/entities.md) by adding EF entity classes to the data project and the corresponding `DbSet<>` properties to `AppDbContext`. You will notice that the starter project includes a single model, `Widget`, to start with. Feel free to change this model or remove it entirely. Read [Entity Models](/modeling/model-types/entities.md) for more information about creating a data model.

- Run ``dotnet ef migrations add Init`` (Init can be any name) in the data project to create an initial database migration.

Expand Down
4 changes: 1 addition & 3 deletions docs/stacks/vue/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
The quickest and easiest way to create a new Coalesce Vue application is to use the ``dotnet new`` template. In your favorite shell:

``` sh
mkdir MyCompany.MyProject
cd MyCompany.MyProject
dotnet new install IntelliTect.Coalesce.Vue.Template
dotnet new coalescevue
dotnet new coalescevue -o MyCompany.MyProject
cd *.Web
npm ci
```
Expand Down

0 comments on commit c4e9cb8

Please sign in to comment.