File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ up and run.
21
21
export S3_BUCKET=...
22
22
export S3_ACCESS_KEY=...
23
23
export S3_SECRET_KEY=...
24
+ export S3_REGION=...
24
25
25
26
# Credentials for talking to github
26
27
export GH_CLIENT_ID=...
@@ -33,8 +34,27 @@ export SESSION_KEY=...
33
34
export DATABASE_URL=...
34
35
35
36
# Remote and local locations of the registry index
36
- export GIT_REPO_URL=https://path/to/repo
37
- export GIT_REPO_CHECKOUT=path/to/checkout
37
+ export GIT_REPO_URL=file://`pwd`/tmp/index-bare
38
+ export GIT_REPO_CHECKOUT=`pwd`/tmp/index-co
39
+ ```
40
+
41
+ ### Set up the git index
42
+
43
+ First, run these commands in this repository's checkout to create a blank index:
44
+
45
+ ```
46
+ mkdir -p tmp
47
+ git init --bare tmp/index-bare
48
+ git clone tmp/index-bare tmp/index-co
49
+ touch tmp/index-co/.git/git-daemon-export-ok
50
+ ```
51
+
52
+ Second, configure cargo to publish to your local registry by adding this to your
53
+ local ` ~/.cargo/config `
54
+
55
+ ```
56
+ [registry]
57
+ index = "http://localhost:8888/git/index"
38
58
```
39
59
40
60
## Running
You can’t perform that action at this time.
0 commit comments