This version is at an early stage of development. Many things may not work or work not as intended.
- PHP 8.0 and higher
- MySQL 5.7
- PHP configured to use MySQL Native Driver (mysqlnd)
- .htaccess support
To install the general availability version, go to the project website and download the latest available distributive. Then follow the installation instructions that came with it.
To install the developer version, you must have a Composer dependency manager and GIT version control system.
- Clone or download this repository on local workstation.
- Assign the repository folder as Apache virtual host, or move contents to the previously created virtual host folder.
- Create MySQL Database.
- Open the console in the virtual host folder and install the dependencies using the command
composer install
- Open the url in your browser (replace your.site to your virtualhost name): http://your.site/install and follow the instructions in the installer.
- This is all done. If you go to the address of your virtual host from the browser, you should see a working site with demo data.
When you get updates from the repository, you need to follow the changes of some files.
- If composer.json has been changed, you need to run the command
composer install
. - After updating or after changing routes, run the command
php johncms cache:clear
.