How to customize startup template, the default template uses sqlserver, we usually use Postgresql, and I want to be able to customize a startup template instead of doing manual adjustments every time.
1 Answer(s)
-
0
hi,
See this doc that explains how to switch btw database providers https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS
There's a parameter in ABP CLI
--template-source
. This parameter allows you to generate a project from your own template. What you need to to do is, download a new app-pro template with the nameMyCompanyName.MyProjectName
Make your customizations on it. Then zip it. Put it in a folder likec:\MyAbpTemplates
Create a new project according to your requirements based on your own template.
abp new Acme.BookStore -t app-pro -u mvc --mobile none --database-provider ef --template-source c:\MyAbpTemplates