|
2 | 2 |
|
3 | 3 | > Laravel + CoreUI + Vue Boilerplate |
4 | 4 |
|
| 5 | +[](https://badge.fury.io/gh/adenvt%2Flaravel-coreui-vue) |
| 6 | +[](https://greenkeeper.io/) |
| 7 | + |
| 8 | +## What's inside |
| 9 | +* [Laravel][laravel] 5.6, A PHP framework for web artisans |
| 10 | +* [Core UI][coreui] for Vue, Free Bootstrap Admin Template |
| 11 | +* Usefull library: [Axios][axios], [jQuery][jquery], [Moment.js][moment], [Lodash][lodash] |
| 12 | +* [Vue Router][vue-router] and [Vuex][vuex], set out of the box |
| 13 | +* Notification using [Vue-SweatAlert2][vue-sweatalert2] and [Vue-Notification][vue-notification] |
| 14 | +* Loading spinner with [Vue Loading Spinner][vue-loading-spinner] |
| 15 | +* Quick deployment with [Docker Compose][docker-compose] [TODO] |
| 16 | + |
| 17 | +## Requirement |
| 18 | +* **PHP** >= 7.1.3 |
| 19 | +* OpenSSL PHP Extension |
| 20 | +* PDO PHP Extension |
| 21 | +* Mbstring PHP Extension |
| 22 | +* Tokenizer PHP Extension |
| 23 | +* XML PHP Extension |
| 24 | +* Ctype PHP Extension |
| 25 | +* JSON PHP Extension |
| 26 | +* **Node** >= 8.9.4 |
| 27 | +* **NPM** >= 5.6.0 |
| 28 | +* For Ubuntu, require `apt-get install libpng16-dev`, [see](https://github.com/imagemin/imagemin-mozjpeg/issues/28) |
| 29 | + |
5 | 30 | ## How to Install |
6 | | -* Clone this repository |
7 | | -* Install depencies |
| 31 | +* [Download][download] and extract this repository |
| 32 | +* Install all depencies |
8 | 33 | ```bash |
9 | | -$ composer install |
10 | | -$ npm install |
| 34 | +cd /path/to/folder |
| 35 | + |
| 36 | +composer install |
| 37 | +npm install |
11 | 38 | ``` |
12 | 39 | * Copy `.env` file |
13 | 40 | ```bash |
14 | | -$ cp -r .env.example .env |
| 41 | +cp -r .env.example .env |
15 | 42 | ``` |
16 | 43 | * Generate Application key |
17 | 44 | ```bash |
18 | | -$ php artisan key:generate |
| 45 | +php artisan key:generate |
19 | 46 | ``` |
20 | | -* Add write permission |
| 47 | +* Add write permission (Unix) |
21 | 48 | ```bash |
22 | | -$ chmod -R go+w storage bootstrap/cache |
| 49 | +chmod -R go+w storage bootstrap/cache |
| 50 | +``` |
| 51 | +* Compile Static Asset |
| 52 | +```bash |
| 53 | +## for Development |
| 54 | +npm run dev |
| 55 | + |
| 56 | +## for Production |
| 57 | +npm run prod |
| 58 | + |
| 59 | +### for Development with HMR (Hot Module Replacement) |
| 60 | +npm run hot |
23 | 61 | ``` |
24 | 62 |
|
25 | 63 | ## License |
26 | 64 | This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details |
| 65 | + |
| 66 | +[download]: https://github.com/adenvt/laravel-coreui-vue/archive/0.2.0.zip |
| 67 | +[laravel]: https://laravel.com |
| 68 | +[coreui]: https://coreui.io |
| 69 | +[axios]: https://github.com/axios/axios |
| 70 | +[jquery]: https://jquery.com/ |
| 71 | +[lodash]: https://lodash.com/ |
| 72 | +[moment]: https://momentjs.com/ |
| 73 | +[vue-router]: https://router.vuejs.org/ |
| 74 | +[vuex]: https://vuex.vuejs.org/ |
| 75 | +[vue-sweatalert2]: https://github.com/avil13/vue-sweetalert2 |
| 76 | +[vue-notification]: http://vue-notification.yev.io/ |
| 77 | +[vue-loading-spinner]: https://nguyenvanduocit.github.io/vue-loading-spinner/ |
| 78 | +[docker-compose]: https://docs.docker.com/compose/ |
0 commit comments