@ungic/create
v0.7.0
Published
npm create @ungic <dir>: scaffolds an ungic Site as code (ungic.base.ts + ungic.config.ts, migrations, Dockerfile, deploy guides).
Readme
@ungic/create
Scaffolds an ungic Site as code.
npm create @ungic my-site
npm create @ungic my-site -- --template site-demodefault: users + lists + tasks, owner-only rules, phone (SMS code) sign-in, one app, a mock function replaced inungic.config.ts.site-demo: the Parcel delivery example — two apps (clients and couriers), hooks, own routes and table, a committed migration.
You get package.json (@ungic/cms, @ungic/admin, @ungic/cli), ungic.base.ts, ungic.config.ts, migrations/,
admin/README.md (how to add your own admin pages), .env.example, a Dockerfile and a README with deploy guides (Docker,
plain Node, Vercel). Then:
cd my-site && npm install && npm run devWithout a folder, it asks for one. Options: --template default|site-demo, --name <package-name>, --install (runs npm install). npm passes them on
only after -- (npm create @ungic my-site -- --install); pnpm create @ungic and yarn create @ungic take them
without it.
Documentation
- Getting started: from
npm create @ungicto the first collection and the first admin. - Ungic CMS documentation.
License: Apache-2.0.
