You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel Starter provides you with a massive head start on any size web application. It comes with a full featured access control system out of the box with an easy to learn API and is built on a Bootstrap foundation with a front and backend architecture. We have put a lot of work into it and we hope it serves you well and saves you time!
2. Copy `.env.example` to `.env` Example for linux users : `cp .env.example .env`
@@ -28,11 +29,29 @@ Clone the repo and follow below steps.
28
29
29
30
Thats it... Run the command `php artisan serve` and cheers, you are good to go with your new **Laravel Starter** application.
30
31
32
+
33
+
### Using docker to run the application
34
+
---
35
+
1.`docker-compose build`
36
+
2.`docker/cli composer install`
37
+
3.`docker/cli php artisan key:generate`
38
+
4.`docker/cli php artisan migrate`
39
+
5.`docker/cli php artisan passport:install`
40
+
6.`docker/cli php artisan db:seed`
41
+
7.`docker/npm i`
42
+
8.`docker/npm run dev`
43
+
9.`docker-compose up -d`
44
+
45
+
You can login to docker cli using the command `docker exec -ti ls-www /bin/bash`
46
+
47
+
*Note: Please make sure that you have proper permissions when setting up the project via docker.*
48
+
49
+
---
31
50
The application uses [GrumPHP](https://github.com/phpro/grumphp) for the git pre-commit hook and [PHPCSFixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) for the code standards. You can also bypass the `GrumPHP` pre-commit hook by hitting `git commit -n` or `git commit --no-verify`
32
51
33
52
### Demo Credentials
34
-
35
-
Make sure you have run the command `php artisan db:seed --class UserTableSeeder` before you use these credentials.
53
+
---
54
+
*Make sure you have run the command `php artisan db:seed --class UserTableSeeder` before you use these credentials.*
36
55
37
56
**User:**admin@admin.com\
38
57
**Password:** 1234
@@ -41,4 +60,12 @@ Make sure you have run the command `php artisan db:seed --class UserTableSeeder`
41
60
**Password:** 1234
42
61
43
62
**User:**user@user.com\
44
-
**Password:** 1234
63
+
**Password:** 1234
64
+
65
+
### Useful Commands
66
+
---
67
+
+ To format your code: `composer format`
68
+
+ To run the test cases: `./vendor/bin/phpunit`
69
+
+ The test cases report will be placed in the `reports` directory
70
+
+ To generate scribe API documentation: `php artisan scribe:generate`
71
+
+ Documentation will be generated and placed in the `public/docs` directory
0 commit comments