Various fixes for DB seeding
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user