Skip to content

Commit 3159b98

Browse files
committed
Update README based on experience with OS X setup
1 parent b5d6f06 commit 3159b98

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,26 @@ If you'd like to change the API server (the Rust backend), then the setup is a
4545
little more complicated.
4646

4747
1. Copy the `.env.sample` file to `.env` and change any applicable values as
48-
directed by the comments in the file.
48+
directed by the comments in the file. Make sure the values in your new
49+
`.env` are exported in the shell you use for the following commands.
4950

5051
2. Set up the git index
5152

5253
```
5354
./script/init-local-index.sh
5455
```
5556
56-
3. Build the server
57+
But *do not* modify your `~/.cargo/config` yet. Do that after step 3.
58+
59+
3. Build the server.
5760
5861
```
5962
cargo build
6063
```
6164
65+
On OS X 10.11, you will need to install the openssl headers first, and tell
66+
cargo where to find them. See https://github.com/sfackler/rust-openssl#osx.
67+
6268
4. Run the migrations
6369
6470
```

0 commit comments

Comments
 (0)