The server requirements are basically the same as for WordPress with the addition of a few ones:
We recommend to use at least PHP 7.2+
The Themosis framework uses Composer to manage its dependencies and easily load its files. Please follow the instructions here in order to install Composer either locally or globally on your computer.
On Windows, you can use the Composer Windows installer.
We recommend you to install Composer globally on your system.
Open your Terminal
or Console
and execute the following command:
composer create-project themosis/themosis my-project-name
This will create a directory called my-project-name
on your computer and automatically download the latest WordPress version along with the latest Themosis framework version and its dependencies.
By default, the default theme is no longer installed using Composer.
Instead, a CLI tool is now bundled with the framework and installed at project root. In order to install the new theme, run the following command from the terminal:
php console theme:install
The command will ask the user for a theme name and then download and unzip the theme into the htdocs/content/themes
directory. The script is also setting up the theme style.css
file headers, the theme text domain and set it as the default theme for your WordPress application.
Habitually, you define your environment variables like database name, database user, authentication salts and other WordPress configurations inside the wp-config.php
file.
With the Themosis framework, those configurations are extracted from the web root and located in the parent folder, at project root through the use of a .env
file.
Follow the configuration guide and see how to install your WordPress application.
Read the configuration guide
Made in Belgium