v0.1.10 · Study guide
Ship a realistic schema.tpy, sample seeds, and an admin theme instead of an empty project.
$ tpy templates list $ tpy templates show crm $ tpy new myapp --template crm $ cd myapp $ tpy build --skip-db && tpy migrate && tpy seed
| Name | Models (summary) |
|---|---|
crm | Company, Contact, Deal, Activity |
institute-admin | Teacher, Course, Batch, Student, Attendance, FeePayment, Exam |
inventory | Supplier, Warehouse, Product, PurchaseOrder, StockMovement |
helpdesk | Category, Agent, SLA, Ticket, Comment |
blog-cms | Author, Category, Tag, Post, PostTag, Comment |
tpy/templates/<name>/ with schema.tpy, admin-theme.json, seeds/, and README.md.tpy new --template scaffolds the normal project, then copies those files in.admin-theme.json sets dashboard title, accent color, and landing model for tpy admin.$ tpy admin --template crm # or place admin-theme.json in the project root
tpy templates list first.tpy seed --fake is planned separately.