Installation

This article describes how to install HarmonyCMS in your system.

1. Initiating a new HarmonyCMS project

To create your new HarmonyCMS project, first make sure to fulfill the requirements and have Composerarrow-up-right installed. If you don't, start by installing Composer globallyarrow-up-right on your system.

Now, create your new HarmonyCMS project by running:

composer create-project harmony/skeleton my-project

This will create a new my-project directory, download all needed dependencies into it and generate the basic HarmonyCMS structure directories and files you'll need to have a complete functional project. In other words, your new new website will be ready!

circle-info

Installation may sometimes fail, see troubleshooting for the Memory limit errorarrow-up-right

2. Database installation

HarmonyCMS is currently supporting SQL and No-SQL databases. To do that, this CMS is fully decoupled from any database system. This means, you will have to choose between SQL and No-SQL.

Such has Symfony, HarmonyCMS doesn't provide a component to work with the database, but it does provide tight integration with a third-party library called Doctrinearrow-up-right.

SQL

You will need to install the emulienfou/orm-pack if your database server is one of MySQL, MariaDB, Oracle, Microsoft SQL Server, PostgreSQL, SAP Sybase SQL Anywhere, SQLite or Drizzle by executing the next command:

composer require emulienfou/orm-pack
circle-info

Full documentation available in the Databases and the Doctrine ORMarrow-up-right Symfony page. The full list of supported platform by Doctrine DBAL are listed herearrow-up-right.

circle-exclamation

No-SQL

If your database server is MongoDB, you should install the next pack by executing the both commands:

circle-info

Full documentation available in the DoctrineMongoDBBundlearrow-up-right Symfony page.

circle-exclamation

Last updated