Install locally or in VPS
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:
- Import database from
database.sql
.
- Import database from
Don't use sample data:
Run
php artisan migrate
to create database structure.Run
php artisan cms:user:create
to create admin user.Activate all plugins
php artisan cms:plugin:activate:all
Activate theme
php artisan cms:theme:activate monst
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
admin
-12345678
. - If you don't use sample data, you need to go to Admin -> Plugins then activate all plugins.
- Change