Skip to content

Commit 13c4906

Browse files
committed
Update read me
1 parent fd9f419 commit 13c4906

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,14 @@ $ ./clean.sh
5656
> NOTE: In some cases that some containers are not cleaned/removed you need to restart, stopped or kill your docker process in your system or manually remove those images/containers.
5757
5858

59-
#### Database seeeding
60-
Incase if you add and seed the database you run this script only if mysql db server (or after the exeucution of ./start.sh) is up and running
59+
#### Seeding
60+
Incase if you add and seed the database you run this script only if mysql db server (or after the exeucution of ./start.sh) is up and running.
61+
6162
```bash
6263
$ ./seed.sh
6364
```
65+
> NOTE: Its important to remember that if you already have an existing data that have the same ID's from the seed data, the seeding will fail. Unless the existing data is delete or removed.
66+
6467

6568
<br>
6669

seed.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ echo "===========[ Run backend seeding...] ============ ${pwd}"
55
# Navigate back to backend directory and run Prisma migrations
66
cd backend
77

8-
echo "===========[ Clean all existing backend dbdata...] ============ ${pwd}"
9-
rm -rf dbdata
8+
#echo "===========[ Clean all existing backend dbdata...] ============ ${pwd}"
9+
#rm -rf dbdata
1010

1111

1212
echo "===========[ Run prisma migrate ...] ============ ${pwd}"

0 commit comments

Comments
 (0)