Getting startedPresets
Presets
The twelve starting points for hydro new, which modules they enable and which content types they copy into your project.
A preset is a starting point: a list of enabled modules and a set of stock content types copied into your project's content-types/ folder. Everything is plain files afterwards, so you can delete types you do not need and add your own.
commerce, blog, and news enable dedicated domain modules (commerce for storefront orders/carts; news and members for blog and news). crm, erp-lite, boutique, restaurant, and saas are starter YAML schema packs built on collections (with audit.log_request_bodies enabled on crm, and hash-chained audit.chain enabled on erp-lite) so you can customize or extend them without fixed module logic.BASH
hydro new --list-presets| Preset | For | Content types copied |
|---|---|---|
minimal | Pages and media only | site_settings, site_navigation |
blog | News or blog posts, pages, comments, galleries | + comments, galleries, faq |
corporate | Company site | + team, testimonials, faq |
news | News portal | + homepage_sections, masthead, columnists, official_announcements, ads, polls, videos, galleries, comments |
tr-news | Regional Turkish news portal | Same stock types as news |
docs | Documentation site | + faq |
crm | Customer relationship management | crm/companies, crm/contacts, crm/deals, crm/activities |
erp-lite | Light ERP (orders, invoices, payments) | erp/* (9 collection schemas) |
commerce | Storefront catalog + cart/checkout/orders | commerce/categories, commerce/products, commerce/variants, commerce/product_images |
boutique | Digital boutique catalog & orders | boutique/* (4 schemas) |
restaurant | Restaurant/cafe QR menu & reservations | restaurant/* (4 schemas) |
saas | SaaS product landing & waitlist leads | saas/* (5 schemas) |
Enabled modules per preset
| Preset | Modules |
|---|---|
minimal, corporate, docs | core, auth, pages, media, site, collections |
blog, news, tr-news | core, auth, members, pages, media, site, news, collections, analytics |
crm, erp-lite, boutique, restaurant, saas | core, auth, media, collections |
commerce | core, auth, media, collections, commerce |
Changing your mind later
- To add a stock type, copy its YAML from the repository's
content-types/folder into your project and restart. - To turn a module on or off, edit the
moduleslist inconfig.yamland runhydro migrate. An inactive module adds no routes, migrations or admin navigation. - Delete any content type file you do not need. Run
hydro content-type validateafterwards.
Stock content types are examples. Fields, labels and options are meant to be edited to fit your project.