Docs
Edit page
API
Code of conductContributing
Deploy on Web
Getting Started
API ReferenceApplication StructureApplication StructureCezerin HostingContentGetting StartedOnline DemoOverviewQuick Startdocumentation
Help
Installation Guides
Readme
Single Instance

Application Structure

.
├── config # Project and build configurations
├── dist # Distribution folder
├── locales # Text files
├── logs # Log files
├── public # Static public assets and uploads
│ ├── admin # Dashboard index.html
│ ├── admin-assets # Dashboard assets
│ └── content # Store root folder
|
├── scripts # Shell scripts for theme install/export
├── src # Application source code
│ ├── admin # Dashboard application
│ │ └── client # Client side code
│ ├── api # REST API
│ │ └── server # Server side code
│ ├── store # Store application
│ | ├── client # Client side code
│ | ├── server # Server side code
│ | └── shared # Universal code
│ └── index.js # Server application start point
├── theme # Theme as a local package
└── process.json # pm2 process file

NPM Scripts

npm run <script>Description
clean:adminDelete admin asset bundles.
clean:storeDelete store asset bundles.
compile:devCompiles the application to disk and watch (~/dist by default).
compileCompiles the application to disk (~/dist by default).
webpack:admin:devAssemble admin bundles and watch.
webpack:store:devAssemble store bundles and watch.
webpack:admin:prodAssemble admin bundles.
webpack:store:prodAssemble store bundles.
theme:installInstall theme from /public/file.zip
theme:exportZip current theme to /public/file.zip
theme:copyCompile theme and copy assets to /public/
theme:build:devRefresh theme after modification and watch.
theme:build:prodRefresh theme after modification.
build:devCompile and assemble bundles and watch.
buildCompile and assemble bundles.
startStart node server.