Skip to content

Commit a0e8107

Browse files
committed
update README
1 parent 0ca6f38 commit a0e8107

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ You can start a disccustion about new rule for SQLint there also.
292292

293293
Code contributions are always appreciated. Feel free to fork the repo and submit pull requests.
294294

295+
#### Development environment
296+
295297
You can start to develop sql-language-server on docker-compose.
296298
Please follows below steps.
297299

@@ -305,4 +307,19 @@ $ docker-compose up
305307

306308
3. Open `http://localhost:3000` on your browser.
307309

310+
#### Migrate database
311+
312+
1. Login into development docker container
308313

314+
```sh
315+
$ docker-compose exec assets bash
316+
```
317+
318+
2. Migrate database
319+
320+
```sh
321+
$ cd example/monaco_editor
322+
$ yarn migrate:postgres # postgres
323+
$ yarn migrate:mysql # mysql
324+
$ yarn migrate:sqlite # sqlite3
325+
```

example/monaco_editor/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
### how to setup
44

5+
Move to project root directory then do following commands.
6+
57
```sh
6-
$ yarn && yarn build
7-
$ yarn start
8+
$ yarn && yarn dev
89
```
910

1011
Then connect to http://localhost:3000 on your browser.

0 commit comments

Comments
 (0)