Skip to content

Commit 04b9933

Browse files
authored
Update revenue dashboard demo gif, update readme instructions, add sample db sql (#115)
* Update revenue dashboard demo gif, update readme instructions, add sample db sql * Fix lint warning * Update values in sample db * Remove sample db * Fix sample db init script * Fix sample db init * Update shorter liblab ai demo
1 parent 20f209f commit 04b9933

8 files changed

Lines changed: 560 additions & 423 deletions

File tree

README.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Securely connect your database, build an app, and deploy in seconds.
66

77
**🚀 [Jump to Quick Start](#-quick-start)** - Get up and running in minutes!
88

9-
![Alt text](https://github.com/liblaber/ai/raw/main/assets/videos/liblab-ai-preview.gif)
9+
![Alt text](https://github.com/liblaber/ai/raw/main/assets/videos/liblab-ai-demo.gif)
1010

1111
## **✨ Key features**
1212

@@ -167,18 +167,14 @@ git clone https://github.com/liblaber/ai.git
167167
cd ai
168168
```
169169

170-
**Run the setup**
171-
172-
```bash
173-
pnpm run quickstart
174-
```
170+
**Run the quickstart**
175171

176-
**Start with Docker**
172+
Make sure your Docker Desktop is running.
177173

178-
After setup is complete, start the app with Docker:
174+
Run the following command to set up and start the app:
179175

180176
```bash
181-
pnpm run docker:start
177+
pnpm run quickstart
182178
```
183179

184180
**That's it! 🎉** The app will be available at [http://localhost:3000](http://localhost:3000/)

assets/videos/liblab-ai-demo.gif

3.22 MB
Loading
-8.41 MB
Binary file not shown.

example.db

-48 KB
Binary file not shown.

init/01-init.sql

Lines changed: 0 additions & 412 deletions
This file was deleted.

init/sample-db-init.sql

Lines changed: 553 additions & 0 deletions
Large diffs are not rendered by default.

scripts/setup-sample-db.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function setupSampleDatabase(): Promise<void> {
3434
}
3535

3636
// Read and execute the init SQL file
37-
const initSql = fs.readFileSync(path.join(__dirname, '..', 'init', '01-init.sql'), 'utf-8');
37+
const initSql = fs.readFileSync(path.join(__dirname, '..', 'init', 'sample-db-init.sql'), 'utf-8');
3838
db.exec(initSql);
3939

4040
setupSpinner.stop('✅ Database initialized successfully');

shared/src/constants/sample-db-enum-values.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Specified enum values for sample database
3-
* These values correspond to the data in 01-init.sql
3+
* These values correspond to the data in sample-db-init.sql
44
*
55
* This is used to populate the enum values for the sample database
66
* because the SQLite database does not have a native support for this.

0 commit comments

Comments
 (0)