Skip to content

Commit

Permalink
Update readme, gulpfile.
Browse files Browse the repository at this point in the history
Remove changelog.md. View them on documentation page instead
  • Loading branch information
duyphan2502 committed May 6, 2017
1 parent b2ed5d9 commit 1bf812f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 65 deletions.
42 changes: 0 additions & 42 deletions CHANGELOG.md

This file was deleted.

18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,10 @@ Please go to [laravel documentation page](https://laravel.com/docs/5.4/installat

## WebEd installation guide

#### Method 1: Install directly
```
composer create-project --prefer-dist sgsoft-studio/webed webed
```

#### Method 2: Add WebEd to your Laravel project
```
composer require sgsoft-studio/base:3.1.*
```
- Register the WebEd provider to **config/app.php**
```
WebEd\Base\Providers\ModuleProvider::class,
```
- After that, remove the default Laravel migrations (create_users_table, create_password_resets_table)
- Modify the database information in **.env**

### Then
```
composer dump-autoload
Expand Down Expand Up @@ -90,14 +78,12 @@ helper. Try to run **composer dump-autoload** by yourself.
## Plugins
Download the plugins and places it at **/plugins** folder.

[Plugins list](https://github.com/webed-plugins/readme)
These plugins still not compatible with WebEd 3.1. I'm working on them.
[Plugins list](https://github.com/webed-plugins)
All plugins with released version is `3.1.*` will stable with WebEd 3.1.

## Themes
Download the themes and places it at **/themes** folder.

[Themes list](https://github.com/webed-themes/readme)

## Table of contents
- [WebEd module commands](./documentation/console/module.md)
- [WebEd theme commands](./documentation/console/theme.md)
Expand Down
15 changes: 8 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ const publicPath = 'public/';

elixir((mix) => {
mix
/*Core stylesheets*/
.sass('./core/assets-management/resources/assets/sass/style.scss', publicPath + 'admin/css')
.sass('./core/assets-management/resources/assets/sass/admin-bar.scss', publicPath + 'admin/css')
/*Core stylesheets*/
.sass('./core/base/resources/assets/sass/style.scss', publicPath + 'admin/css')
.sass('./core/base/resources/assets/sass/admin-bar.scss', publicPath + 'admin/css')

/*Core scripts*/
.rollup('./core/assets-management/resources/assets/js/webed-core.js', publicPath + 'admin/js')
.rollup('./core/assets-management/resources/assets/js/script.js', publicPath + 'admin/js')
.rollup('./core/base/resources/assets/js/webed-core.js', publicPath + 'admin/js')
.rollup('./core/base/resources/assets/js/script.js', publicPath + 'admin/js')

/*Datatables*/
.rollup('./core/assets-management/resources/assets/js/Components/DataTables/DataTable.js', publicPath + 'admin/modules/datatables/webed.datatable.js')
.rollup('./core/assets-management/resources/assets/js/Components/DataTables/DataTableAjax.js', publicPath + 'admin/modules/datatables/webed.datatable.ajax.js')
.rollup('./core/base/resources/assets/js/Components/DataTables/DataTable.js', publicPath + 'admin/modules/datatables/webed.datatable.js')
.rollup('./core/base/resources/assets/js/Components/DataTables/DataTableAjax.js', publicPath + 'admin/modules/datatables/webed.datatable.ajax.js')

.copy('./' + publicPath + 'admin/modules/auth', 'core/base/resources/public/admin/modules/auth')
.copy('./' + publicPath + 'admin/modules/datatables', 'core/base/resources/public/admin/modules/datatables')
Expand All @@ -43,6 +43,7 @@ elixir((mix) => {
/*Custom fields*/
.sass('./core/custom-fields/resources/assets/sass/admin/modules/custom-fields/edit-field-group.scss', publicPath + 'admin/modules/custom-fields')
.rollup('./core/custom-fields/resources/assets/js/admin/modules/custom-fields/edit-field-group.js', publicPath + 'admin/modules/custom-fields')
.rollup('./core/custom-fields/resources/assets/js/admin/modules/custom-fields/import-field-group.js', publicPath + 'admin/modules/custom-fields')
.rollup('./core/custom-fields/resources/assets/js/admin/modules/custom-fields/use-custom-fields.js', publicPath + 'admin/modules/custom-fields')
.copy('./' + publicPath + 'admin/modules/custom-fields', 'core/custom-fields/resources/public/admin/modules/custom-fields')
;
Expand Down

0 comments on commit 1bf812f

Please sign in to comment.