- PHP >= 7.4 && < 8.0
- Apache Web Server with mod_rewrite enabled or Nginx Web Server
- Latest stable Phalcon Framework release extension enabled
- MySQL >= 8.0 or MariaDB >= 10.3
- Create OCMS project:
composer create-project ocms/ocms-core
or - Get OCMS source code:
git clone https://github.com/olegiv/Ocms.git && composer install
- Create configuration file:
cp .env.example .env
- Create database and database user account.
- Edit configuration file (.env) by updating your DB connection (from the previous item) and paths information
- Create database schema and initial data by running DB migrations
vendor/bin/phalcon-migrations run --config=install/migrations.config.php
- Set web server document root to html directory.