Various fixes for DB seeding

This commit is contained in:
2025-12-04 22:37:16 +01:00
parent 0200c38f30
commit b7a880d66a
12 changed files with 71 additions and 75 deletions
+11 -7
View File
@@ -40,28 +40,32 @@ ### Prerequisites
### Steps
1. Clone the repository:
```bash
git lfs clone https://code.tooloop.de/Tooloop/Caramel-CRM.git
git clone http://code.tooloop.de/Tooloop/Caramel-CRM.git
cd Caramel-CRM
````
2. Install dependencies:
```
2. Create empty database:
```bash
touch database/database.sqlite
```
3. Install dependencies:
```bash
composer install
npm install
```
3. Set up the environment:
4. Set up the environment:
```bash
cp .env.example .env
php artisan key\:generate
```
4. Run migrations and seeders:
5. Run migrations and seeders:
```bash
php artisan migrate --seed
```
5. Build frontend assets:
6. Build frontend assets:
```bash
npm run dev
```
6. Start the development server:
7. Start the development server:
```bash
php artisan serve
```