Open Closed

How to customize startup template #495


User avatar
0
geffzhang created

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.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    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 name MyCompanyName.MyProjectName Make your customizations on it. Then zip it. Put it in a folder like c:\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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.