Skip to content

Commit

Permalink
Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
rizkiheryandi committed Jul 6, 2021
1 parent 94caa28 commit dec5af6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# @badaso/content
# badaso/content-module
Manage your website content through dashboard easily out of the box

## How to installation content manager module
1. <a href="https://badaso-docs.uatech.co.id/docs/en/getting-started/installation/" target="blank"> Install Badaso </a> from laravel project
2. Install badaso content module `composer require uasoft-indonesia/badaso-content-module`
2. Install badaso content module

For v2.x (Laravel 8)
```
composer require badaso/content-module
```

For v1.x (Laravel 5,6,7)
```
composer require badaso/content-module:^1.0
3. Set env
```
MIX_DEFAULT_MENU=admin
MIX_BADASO_MENU=${MIX_DEFAULT_MENU},badaso-content-module
MIX_BADASO_MODULES=badaso-content-module
MIX_BADASO_MENU=${MIX_DEFAULT_MENU},content-module
MIX_BADASO_MODULES=content-module
```
3. Call command `php artisan migrate`
4. Call command `php artisan badaso-content:setup` or `php artisan badaso-content:setup --force` if you want to overwrite the file
5. Call command `composer dump-autoload`
6. Call command `php artisan db:seed --class=ContentModuleSeeder`
6. Call command `php artisan db:seed --class=BadasoContentModuleSeeder`
7. In menu item "Role Management" from badaso admin panel, add permission user to fill content
![image](https://user-images.githubusercontent.com/55905844/118775952-a90f3380-b8b1-11eb-9c32-d672f686aeb1.png)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.0.0-rc.2",
"name": "uasoft-indonesia/badaso-content-module",
"name": "badaso/content-module",
"description": "Zero development for web page content system on badaso",
"keywords": [
"laravel",
Expand Down

0 comments on commit dec5af6

Please sign in to comment.