-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Alexander Stoimenov edited this page Jun 21, 2016
·
1 revision
igniCMS is an administrative interface builder for Laravel 5.1
- nodejs >= 4.0
- npm
- bower
- gulp
- composer
- Require this package in your composer.json and run
composer update
:
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"despark/ignicms": "^1.0.0"
},
Or composer require despark/cms
- After composer update, insert service provider
Despark\Providers\AdminServiceProvider::class,
before the application service providers to theconfig/app.php
Example
...
/*
* Despark CMS Service Provider
*/
Despark\Cms\Providers\AdminServiceProvider::class,
/*
* Application Service Providers...
*/
App\Providers\AppServiceProvider::class,
...
- Run this command in the terminal (it'll set all necessary resources to use the CMS. To complete this step you should have composer, npm & bower, installed globally):
php artisan admin:install
- Run the database seeder to populate the database with default user, permissions and roles:
php artisan db:seed --class=DesparkDatabaseSeeder
- All done! Now go to the
<your_site_url>/admin
and use default credentials[email protected]
/Despark1234
-
Use the command
php artisan admin:resource
to create all necessary files for manipulating resources. You should specify the resource name (in title case).Example
php artisan admin:resource "Blog Post"
-
The command
php artisan admin:update
will update composer dependencies, it'll clear the autoload and it'll run any new migrations. -
You can run
php artisan admin:prod
on your production server, after deploy. It will install all dependencies according to your composer.lock file, run new migrations and optimize the autoload.
Despark CMS was written by Despark for the Laravel framework and is released under the MIT License. See the LICENSE file for details.