Update README
This commit is contained in:
parent
ced7654638
commit
cc8f38a9fd
2 changed files with 3 additions and 2 deletions
|
@ -45,7 +45,7 @@ CAPTION="" Bot messages caption.
|
||||||
```
|
```
|
||||||
|
|
||||||
6. Create a private or public channel and add your bot to that.
|
6. Create a private or public channel and add your bot to that.
|
||||||
7. Run `bun run init` to initialize database for the first time.
|
7. Run `bun run init first_init` to initialize database for the first time.
|
||||||
8. Run `bun start` and insert your telegram account infomation.
|
8. Run `bun start` and insert your telegram account infomation.
|
||||||
9. Done! if everything is correct, you should see "Bot is running...".
|
9. Done! if everything is correct, you should see "Bot is running...".
|
||||||
|
|
||||||
|
@ -59,5 +59,6 @@ CAPTION="" Bot messages caption.
|
||||||
git fetch origin
|
git fetch origin
|
||||||
git merge origin/main
|
git merge origin/main
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
bun run init new_update
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -21,6 +21,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "bun run src/app.ts",
|
"start": "bun run src/app.ts",
|
||||||
"dev": "bun --watch src/app.ts",
|
"dev": "bun --watch src/app.ts",
|
||||||
"init": "bunx prisma migrate dev --name init"
|
"init": "bunx prisma migrate dev --name"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue