netis-cms / netis
Installer for creating a Netis CMS project.
Requires
- php: >=8.3 <9
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-17 05:35:57 UTC
README
Installer of Netis CMS: a complete website with administration on top of Drago Project.
Requirements
- PHP >= 8.3
- Composer
- Node.js
- Docker
Installation
composer global require netis-cms/netis:dev-main
What You Get
The project is composed by drago-ex/project-preset: the website and the administration with sign-in and user accounts, settings, blog with comments, static pages, image gallery and the administration of roles and permissions. All files of the packages are copied into the project, so you adapt them as your own code.
Usage
create-netis cms # into the directory cms create-netis # into the directory netis create-netis . # into the current empty directory
The command creates a Drago Project, installs the preset, copies the files of the packages into the project
(drago-install, drago-clean) and runs the commands of the packages (drago-commands). It adds drago-commands
to the Composer scripts, so packages installed later are set up on composer update too.
After Create
cd cms
npm install
npm run vite:build
npm run docker:dev
docker:dev starts the web server and the database and keeps copying your changes into the container, so continue
in another terminal. Run the migrations and set the administrator and the website name:
docker compose exec -u www-data server php bin/project-setup
The website runs on http://127.0.0.1:8080. All npm commands are listed in package.json of the project.
Demo Data
To try the project with content, import the demo data after bin/project-setup, from the directory of the project:
docker compose cp "$(composer global config home)/vendor/netis-cms/netis/demo" server:/tmp/netis-demo docker compose exec -u www-data server php /tmp/netis-demo/import.php
It adds 12 articles in 3 categories with comments (some of them waiting for approval), 4 static pages, images in the
gallery, the roles editor and moderator and 3 user accounts; the first administrator is the author of the
articles. It can be run again: what already exists is left as it is. The demo accounts share one known password
(import.php prints it), so never import the demo data into a production database.