Skip to content

Commit a9ea245

Browse files
authored
Merge pull request #36 from dolthub/tim/fixed
Update README.md
2 parents e15c3a8 + 23c46e2 commit a9ea245

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

README.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,39 @@ Contribution Guide coming soon.
4242
# Getting Started
4343

4444
1. Download the latest release of `doltgres`
45+
4546
2. Put `doltgres` on your `PATH`
47+
4648
3. Navigate to a directory you want your database data stored (ie. `~/doltgresql`).
4749
```bash
4850
$ mkdir ~/doltgresql
4951
$ cd ~/doltgresql
5052
```
51-
5. Run `doltgres`. This will create a `doltgres` user and a `doltgres` database.
53+
54+
4. Run `doltgres`. This will create a `doltgres` user and a `doltgres` database.
5255
```bash
5356
$ doltgres
5457
Successfully initialized dolt data repository.
5558
Starting server with Config HP="localhost:5432"|T="28800000"|R="false"|L="info"|S="/tmp/mysql.sock"
5659
```
60+
5761
5. Make sure you have Postgres version 15 or higher installed. I used Homebrew to install Postgeres on my Mac.
58-
This requires I manually add `/opt/homebrew/opt/postgresql@15/bin` to my path.
62+
This requires I manually add `/opt/homebrew/opt/postgresql@15/bin` to my path. On Postgres version 14 or lower,
63+
`\` commands (ie. `\d`, `\l`) do not work with Doltgres.
5964
```
6065
export PATH="/opt/homebrew/opt/postgresql@15/bin:$PATH"
6166
```
62-
On Postgres version 14 or lower, `\` commands (ie. `\d`, `\l`) do not work with Doltgres.
63-
7. Open a new terminal. Connect with the following command: `psql -h localhost -U doltgres`. This will connect to the `doltgres` database with the `doltgres` user.
67+
68+
6. Open a new terminal. Connect with the following command: `psql -h localhost -U doltgres`. This will connect to the `doltgres` database with the `doltgres` user.
6469
```bash
6570
$ psql -h 127.0.0.1 -U doltgres
6671
psql (15.4 (Homebrew), server 15.0)
6772
Type "help" for help.
6873

6974
doltgres=>
7075
```
71-
8. Create a `getting_started` database. Create the `getting_started` example tables.
76+
77+
7. Create a `getting_started` database. Create the `getting_started` example tables.
7278
```sql
7379
doltgres=> create database getting_started;
7480
--
@@ -110,7 +116,8 @@ getting_started=> \d
110116
public | teams | table | postgres
111117
(3 rows)
112118
```
113-
7. Make a Dolt Commit.
119+
120+
8. Make a Dolt Commit.
114121
```sql
115122
getting_started=> select * from dolt_status;
116123
table_name | staged | status
@@ -139,6 +146,7 @@ getting_started=> call dolt_commit('-m', 'Created initial schema');
139146
peqq98e2dl5gscvfvic71e7j6ne34533
140147
(1 row)
141148
```
149+
142150
9. View the Dolt log.
143151
```
144152
getting_started=> select * from dolt_log;
@@ -148,7 +156,8 @@ getting_started=> select * from dolt_log;
148156
in7bk735qa6p6rv6i3s797jjem2pg4ru | timsehn | tim@dolthub.com | 2023-11-01 22:04:03 | Initialize data repository
149157
(2 rows)
150158
```
151-
11. Continue with [Dolt Getting Started](https://docs.dolthub.com/introduction/getting-started/database#insert-some-data)
159+
160+
10. Continue with [Dolt Getting Started](https://docs.dolthub.com/introduction/getting-started/database#insert-some-data)
152161
to test out more Doltgres versioning functionality.
153162

154163
# Building From Source

0 commit comments

Comments
 (0)