@@ -31,77 +31,11 @@ __Please do not use it in production.__
31
31
32
32
## Roadmap
33
33
34
- Read the [ Roadmap] ( ./ROADMAP.md ) .
34
+ Read the [ Roadmap] ( ./docs/ ROADMAP.md ) .
35
35
36
36
## Quick start
37
37
38
-
39
- #### Run tidb with docker
40
-
41
- You can quickly test tidb with docker, the source repository contains Dockerfile,
42
- You can build docker and then run a docker container with tidb.
43
- To install docker on your system, you can read the document on https://docs.docker.com/
44
-
45
-
46
- ```
47
- git clone https://github.com/pingcap/tidb.git
48
- cd tidb
49
- docker build --rm -t tidb-server .
50
- docker images
51
- docker run -d -p 4000:4000 --name tidb-server tidb-server
52
- ```
53
- Then you can connect 127.0.0.1:4000 by mysql client or telnet.
54
- The tidb is ready for serving.
55
-
56
- #### __ Pre-requirement__
57
-
58
- Go environment. Currently a 64-bit version of go >= 1.5 is required.
59
- ```
60
- git clone https://github.com/pingcap/tidb.git $GOPATH/src/github.com/pingcap/tidb
61
- cd $GOPATH/src/github.com/pingcap/tidb
62
- make
63
- ```
64
-
65
- #### __ Run command line interpreter__
66
-
67
- Interpreter is an interactive command line TiDB client.
68
- You can just enter some SQL statements and get the result.
69
- ```
70
- make interpreter
71
- cd interpreter && ./interpreter
72
- ```
73
- Press ` Ctrl+C ` to quit.
74
-
75
- #### __ Run as go library__
76
-
77
- See [ USAGE.md] ( ./docs/USAGE.md ) for detailed instructions to use TiDB as library in Go code.
78
-
79
- #### __ Run as MySQL protocol server__
80
-
81
- ```
82
- make server
83
- cd tidb-server && ./tidb-server
84
- ```
85
-
86
- In case you want to compile a specific location:
87
-
88
- ```
89
- make server TARGET=$GOPATH/bin/tidb-server
90
- ```
91
-
92
- The default server port is ` 4000 ` and can be changed by flag ` -P <port> ` .
93
-
94
- Run ` ./tidb-server -h ` to see more flag options.
95
-
96
- After you started tidb-server, you can use official mysql client to connect to TiDB.
97
-
98
- ```
99
- mysql -h 127.0.0.1 -P 4000 -u root -D test
100
- ```
101
-
102
- #### __ Run as MySQL protocol server with distributed transactional KV storage engine__
103
-
104
- Comming soon.
38
+ Read the [ Quick Start] ( ./docs/QUICKSTART.md )
105
39
106
40
## Architecture
107
41
0 commit comments