Skip to content
/ public-demo Public template

The source of our public demo of ApostropheCMS

License

Notifications You must be signed in to change notification settings

apostrophecms/public-demo

Repository files navigation

Apostrophe 3 demo and test project

Get started

  1. Install dependencies with npm install.
  2. Add your first user with node app @apostrophecms/user:add {MY_USERNAME} admin.

Running the project

Run npm run dev to build the Apostrophe UI and start the site up. Remember, this is during alpha development, so we're all in "dev mode."

Analyzing bundle size

It is possible to analyze the size of the admin UI webpack bundle:

APOS_BUNDLE_ANALYZER=1 node app @apostrophecms/asset:build

This will display a visualization in your browser. Bear in mind that the admin UI bundle is only ever present for logged-in users, generally those with editing privileges and not the general public.