@@ -9,104 +9,6 @@ Laravel Backend is an instant backend for laravel 5.1~. It is a component base a
99 - Media Manager
1010 - (want more?) You can even make your custom component easily aswell!
1111
12- ### INSTALLATION
13- ---
14- ** --NOTE IMPORTANT--**
12+ ### WEBSITE
1513
16- - make sure to set all your database connection first.
17- - make sure to set correct "url" on config/app.php
18-
19- ---
20-
21- *** Step 1:*** On your composer.json, add this on require block:
22- ```
23- "require": {
24- "darryldecode/laravelbackend": "dev-master"
25- }
26- ```
27- then you can do: ``` composer update "darryldecode/laravelbackend" ``` to update/install the package
28-
29- ---
30- *** Step 2:***
31- - add this lines in config/app.php on providers array:
32- ```
33- Darryldecode\Backend\BackendServiceProvider::class,
34- Darryldecode\Backend\BackendRoutesServiceProvider::class,
35- ```
36-
37- - add this lines in config/app.php on aliases array:
38- ```
39- 'Form' => Illuminate\Html\FormFacade::class,
40- 'Html' => Illuminate\Html\HtmlFacade::class,
41- ```
42- ---
43- *** Step 3:***
44- > ** NOTE:** Delete all default migration first bundled with your laravel installation. Backend package has its own full-blown user component. After you have deleted it, do this on your command line:
45-
46- ```
47- php artisan vendor:publish --provider="Darryldecode\Backend\BackendServiceProvider"
48- ```
49-
50- Then do:
51- ```
52- composer dump-autoload
53- ```
54- ---
55-
56- *** Step 5:***
57-
58- On your terminal, do:
59- ```
60- php artisan migrate
61- php artisan db:seed --class=BackendSeeder
62- ```
63- ---
64- *** Step 6:***
65- - on config/auth.php
66- ```
67- changed your model to: 'Darryldecode\Backend\Components\User\Models\User'
68- ```
69- - on config/filesystems.php
70- ```
71- changed the local disks:
72- 'root' => storage_path('app'),
73- to:
74- 'root' => public_path('uploads'),
75- ```
76- - on app/Console/Kernel.php
77- ```
78- add this on the $commands property array, this will enable package's built in consoles
79-
80- \Darryldecode\Backend\Base\Console\ComponentMake::class,
81- \Darryldecode\Backend\Base\Console\WidgetMake::class
82- ```
83-
84- ---
85-
86- *** CONRGATULATIONS!*** Your instant laravel 5.1 backend is ready! you can login by navigating to: ``` /backend/login ```
87-
88- - user: admin@gmail.com
89- - pass: admin
90-
91- Please change your credentials. You can change your backend url on config.
92-
93- ---
94-
95- *** TESTS:***
96-
97- You can run the tests to make sure all functionality is good.
98- first: open your ``` phpunit.xml ``` config and add this to your test suites:
99-
100- <testsuite name="Backend">
101- <directory>./vendor/darryldecode/backend/tests/</directory>
102- </testsuite>
103-
104- then run: ``` "phpunit --testsuite Backend" ``` on your command line of choice.
105-
106- -------------------------------------------------------------
107-
108- Next? Read the full documentation to get the most of the package! Extending is easy aswell! Enjoy!
109-
110- ### NOTE:
111-
112- > PACKAGE IS STILL IN ALPHA AND STILL IN ACTIVE DEVELOPMENT! ** Documenation coming soon!**
14+ http://laravelbackend.com/
0 commit comments