Installer for creating a Netis CMS project on top of Drago Project.
- PHP >= 8.3
- Composer
composer global require netis-cms/netis:dev-master
Create a new project:
create-netis cms
Without an argument, the default target directory is netis:
create-netis
You can also install into the current empty directory:
create-netis .For local testing from this repository:
php bin/create-netis cms
The command creates a base Drago project, installs the Netis preset packages, copies project resources, cleans vendor resource folders and exports SQL migrations:
composer create-project drago-ex/project <target-dir> --no-scripts composer require --no-scripts <netis-packages> php vendor/bin/drago-install php vendor/bin/drago-clean php vendor/bin/sql-export migrations
Go to the created project directory:
cd cmsInstall frontend dependencies:
npm install
Build frontend assets:
npm run vite:build
Build Docker images:
npm run docker:build
Start the development Docker environment:
npm run docker:dev
All available npm commands are listed in the created project's package.json.