File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -292,6 +292,8 @@ You can start a disccustion about new rule for SQLint there also.
292292
293293Code contributions are always appreciated. Feel free to fork the repo and submit pull requests.
294294
295+ #### Development environment
296+
295297You can start to develop sql-language-server on docker-compose.
296298Please follows below steps.
297299
@@ -305,4 +307,19 @@ $ docker-compose up
305307
3063083 . 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+ ```
Original file line number Diff line number Diff line change 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
1011Then connect to http://localhost:3000 on your browser.
You can’t perform that action at this time.
0 commit comments