Flextype is incredibly easy to set up and get running.
Be sure you have at least PHP version 7.2.0+ by going to the terminal and typing
php -v PHP 7.2.20 (cli) (built: Jul 5 2019 12:51:26) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.20, Copyright (c) 1999-2018, by Zend Technologies
Unzip the contents to a new folder on your local computer, and upload to your webhost using the (S)FTP client of your choice. After you’ve done this, be sure to chmod the following directories (with containing files) to
777), so they are readable and writable by Flextype:
You can easily install Flextype with Composer.
Once you have installed Composer, run the following command to set up Flextype:
composer create-project flextype/flextype
or you may setup Flextype with a dev stability
composer create-project flextype/flextype --stability=dev
Also you may need to install vendor libs for default plugins and default theme. Go to your project folder, and run:
composer install --no-dev; cd site/themes/default npm install gulp cd site/plugins/admin npm install gulp composer install --no-dev cd site/plugins/form composer install --no-dev cd site/plugins/icon npm install gulp composer install --no-dev cd site/plugins/site composer install --no-dev
If you have command-line access, you can easily install Flextype by executing a few commands. First, create the directory where you want to install Flextype, if it doesn’t already exist. Enter the directory, and execute the following commands:
wget https://github.com/flextype/flextype/releases/download/v0.9.7/flextype-0.9.7.zip unzip flextype-0.9.7.zip chmod -R 0777 site/
Your homepage is working, but subpages won't open or lead to a server error?
- Make sure that the .htaccess file is present in your Flextype folder.
- Check if mod_rewrite is enabled on your server.
- Please try setting the RewriteBase in the .htaccess file:
If you run Flextype in a subfolder, make sure to set the RewriteBase according to the name of your subfolder: