File tree Expand file tree Collapse file tree 3 files changed +21
-15
lines changed
Expand file tree Collapse file tree 3 files changed +21
-15
lines changed Original file line number Diff line number Diff line change @@ -48,19 +48,11 @@ Missing something? Feel free to tell me what would be a nice addition to this st
4848
4949## Getting started
5050
51- Take this steps:
52-
53- - git clone
54- - run ` composer install `
55- - run ` npm install `
56- - npm run dev
57- - copy .env.example to .env
58- - php artisan key: generate
59- - modify .env file
60- - create /database/database.sqlite file or use another database in .env
61- - migrate database ` php artisan migrate `
62-
63- Make sure to set your current domain:
51+ You can quick start with this starter-kit by running the ** ` bin/install.sh ` ** script or manually run the containing commands.
52+
53+ After that you can loggin with ` text@example.com ` and the password ` password `
54+
55+ Make sure to set your current domain in the .env file:
6456
6557```
6658APP_URL=http://vue-laravel-spa.test
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ ! -f composer.json ]; then
4+ echo " Please make sure to run this script from the root directory of this repo."
5+ exit 1
6+ fi
7+
8+ cp -v .env.example .env
9+ composer install --no-interaction
10+ php artisan key:generate
11+ touch database/database.sqlite
12+ php artisan migrate --seed
13+ npm install
14+ npm run build
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ class DatabaseSeeder extends Seeder
1313 */
1414 public function run (): void
1515 {
16- // User::factory(10)->withPersonalTeam()-> create();
16+ // User::factory(10)->create();
1717
18- User::factory ()->withPersonalTeam ()-> create ([
18+ User::factory ()->create ([
1919 'name ' => 'Test User ' ,
2020 'email ' => 'test@example.com ' ,
2121 ]);
You can’t perform that action at this time.
0 commit comments