- Requirement
- Installation
- Note
Requirement
- Apache, nginx, or another compatible web server.
- PHP >= 7.3 >> Higher
- MySQL Database server
- BCMath PHP Extension
- Ctype PHP Extension
- Fileinfo PHP extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- Module Re_write server
- PHP_CURL Module Enable
PHP Configuration
Open your php configuration file php.ini and change the following settings.
memory_limit = 32M max_execution_time = 300
If you are using Cpanel, you can follow this article to change your PHP memory limit settings https://chemicloud.com/kb/article/how-to-increase-the-php-memory-limit-in-cpanel/
[external_link_head]
{warning} On this project, we’re using the latest Laravel version (currently 8.x). Please go to Laravel documentation page for more information.
It’s based on Laravel framework, the root folder for it is /public. You shouldn’t install it on a sub-folder, use sub-domain is better than sub-folder. (we won’t support to install our product on sub-folder).
[external_link offset=1]
Install on hosting
{warning} If you’re a Laravel developer and you want to customize our source code in
platform/core
andplatform/packages
, you need to delete folder/vendor
then run commandcomposer install
to reinstall vendor packages.
- Upload all files into the root folder of your hosting (normally, it is
public_html
). - Create a database and import data from
database.sql
(it’s located in source code). - Create
.env
from.env.example
and update your database credentials. - Make sure
APP_URL
in.env
is correct your domain. It should beAPP_URL=http://your-domain.com
- Go to
/admin
to access to admin panel. - The default admin account is
botble
–159357
.
Install locally or in VPS
{warning} If you’re a Laravel developer and you want to customize our source code in
platform/core
andplatform/packages
, you need to delete folder/vendor
then run commandcomposer install
to reinstall vendor packages.
-
Create
.env
file from.env-example
and update your configuration. -
Using sample data:
- Option 1: Import database from
database.sql
. - Option 2: Run
php artisan migrate --seed
- Option 1: Import database from
-
Don’t use sample data:
-
Run
php artisan migrate
to create database structure.[external_link offset=2]
-
Run
php artisan cms:user:create
to create admin user. -
Run
php artisan cms:theme:activate ripple
-
-
If you’re pulled source code from GIT server:
- Run
php artisan vendor:publish --tag=cms-public --force
- Run
php artisan cms:theme:assets:publish
- Run
-
Run web locally:
- Change
APP_URL
in.env
toAPP_URL=http://localhost:8000
- Run
php artisan serve
. Openhttp://localhost:8000
, you should see the homepage. - Go to
/admin
to access to admin panel. - If you’re using sample data, the default admin account is
botble
–159357
. - If you don’t use sample data, you need to go to Admin -> Plugins then activate all plugins.
- Change
[external_footer]