|
15 | 15 |
|
16 | 16 | <h1 align="center">Visualize, modify, and build your database with dbSpy!</h1>
|
17 | 17 | <p align="center">An open-source data modeling tool to facilitate relational database development</p>
|
| 18 | +<p align="center">dbSpy是一个促进关系数据库开发的开源数据建模工具</p> |
18 | 19 |
|
19 | 20 | ### Use Cases
|
20 | 21 |
|
|
55 | 56 | ---
|
56 | 57 |
|
57 | 58 | ### Getting started
|
58 |
| - |
| 59 | +You will need your own mySQL and redis databases for backend functions, and Google Cloud project for OAuth. |
59 | 60 | - Fork and clone this repo
|
60 |
| -- Add a .env file to the root directory |
61 | 61 | - Add a db_schemas folder in server directory
|
| 62 | +- Add a .env file to the root directory |
62 | 63 | - Go to the Google Cloud Platform Console
|
63 |
| -- Set up OAuth 2.0 credentials as laid out in <a href="https://support.google.com/cloud/answer/6158849?hl=en">here</a> |
| 64 | +- Set up OAuth 2.0 credentials as laid out in <a href="https://support.google.com/cloud/answer/6158849?hl=en">here</a>. Make sure |
| 65 | + your authorized redirect URI in the credentials you create matches the GOOGLE_AUTH_CALLBACK variable below. |
64 | 66 | - Populate the .env file with the newly created code below:
|
65 | 67 |
|
66 | 68 | ```bash
|
67 | 69 | GOOGLE_AUTH_CALLBACK = ''
|
68 | 70 | DATABASE_URL = [mysql url for storing user data]
|
69 | 71 | DEV_SERVER_ENDPOINT = 'http://localhost:3000'
|
70 | 72 | DEV_CLIENT_ENDPOINT = 'http://localhost:8080'
|
| 73 | +CLIENT_ENDPOINT = 'http://localhost:3000' |
71 | 74 | GOOGLE_AUTH_CALLBACK = 'http://localhost:3000/api/oauth/google'
|
72 | 75 | GOOGLE_AUTH_CLIENT_ID = [google auth client id]
|
73 | 76 | GOOGLE_AUTH_CLIENT_SECRET = [google auth client secret]
|
@@ -167,7 +170,7 @@ npm run cert
|
167 | 170 | - Zoom On [+] - this button zooms into the canvas.
|
168 | 171 | - Zoom Out [-] - this button zooms out of the canvas.
|
169 | 172 | - Fit View [[]] - this button zooms to fit all the tables in focus.
|
170 |
| - - Toggle Interactivity [lock] - this button toggles on and off all table and row interactivity. |
| 173 | + - Toggle Interactivity [lock] - this button toggles on and off all table and column interactivity. |
171 | 174 | - Screenshot [camera] - this button saves a .png file of the current canvas view.
|
172 | 175 |
|
173 | 176 | ---
|
@@ -204,4 +207,4 @@ npm run cert
|
204 | 207 |
|
205 | 208 | ### License
|
206 | 209 |
|
207 |
| -dbSpy is developed under the MIT license. See more un |
| 210 | +dbSpy is developed under the MIT license. See more about dbSpy4.0 updates [here](https://github.com/oslabs-beta/dbSpy/releases/tag/v4.0.0). |
0 commit comments