diff --git a/README.md b/README.md index b0338ab..66defef 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ A simple blogging platform built with Next.js, shadcn/ui and Tailwind CSS. ```bash cd server/ - npm install # bun is not suggested + bun install ``` **Copy example .env:** @@ -44,7 +44,7 @@ A simple blogging platform built with Next.js, shadcn/ui and Tailwind CSS. Then, simply execute the below command and follow the prompts: ```bash - node setup.js # bun is not suggested + bun setup.js ``` 4. **Start server** diff --git a/server/setup.js b/server/setup.js index 4b86d80..7c74ddc 100644 --- a/server/setup.js +++ b/server/setup.js @@ -1,4 +1,4 @@ -import Database from 'sqlite3'; +import { Database } from 'sqlite3'; import readline from 'readline'; import fs from 'fs'; import figlet from 'figlet';