Skip to content

netis-cms/netis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

767 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netis CMS

Installer for creating a Netis CMS project on top of Drago Project.

Coding Style PHP version

Requirements

  • PHP >= 8.3
  • Composer

Installation

composer global require netis-cms/netis:dev-master

Usage

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

What It Does

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

After Create

Go to the created project directory:

cd cms

Install 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.

About

💡 Installer for creating a Netis CMS project. @nette, @drago-ex, @compostrap

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages