File tree 2 files changed +5
-25
lines changed
2 files changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ export DATABASE_URL=
6
6
# If you are running a mirror of crates.io, uncomment this line.
7
7
# export MIRROR=1
8
8
9
- # Key to sign and encrypt cookies with. Change this to a long, random string
10
- # for production.
11
- export SESSION_KEY = badkey
9
+ # Key to sign and encrypt cookies with. Must be at least 32 bytes. Change this
10
+ # to a long, random string for production.
11
+ export SESSION_KEY = badkeyabcdefghijklmnopqrstuvwxyzabcdef
12
12
13
13
# If you will be running the tests, set this to another database that you
14
14
# have created. For example, if your test database is named
@@ -22,7 +22,8 @@ export TEST_DATABASE_URL=
22
22
# export S3_BUCKET=
23
23
# export S3_ACCESS_KEY=
24
24
# export S3_SECRET_KEY=
25
- # export S3_REGION= # not needed if the S3 bucket is in US standard
25
+ # not needed if the S3 bucket is in US standard
26
+ # export S3_REGION=
26
27
27
28
# Remote and local locations of the registry index. You can leave these to
28
29
# use a `tmp` subdirectory of the working directory, which is what the
Original file line number Diff line number Diff line change @@ -316,27 +316,6 @@ with `CTRL-C` and rerun this command every time you change the backend code):
316
316
cargo run --bin server
317
317
```
318
318
319
- > If you get an error that looks like:
320
- >
321
- > ```
322
- > thread 'main' panicked at 'must have `GIT_REPO_URL` defined', src/lib.rs:227
323
- > ```
324
- >
325
- > Edit your `.env` and remove the comment after the `S3_REGION` variable. That
326
- > is, change this:
327
- >
328
- > ```
329
- > export S3_REGION= # not needed if the S3 bucket is in US standard
330
- > ```
331
- >
332
- > to this:
333
- >
334
- > ```
335
- > export S3_REGION=
336
- > ```
337
- >
338
- > and then try running `cargo run --bin server` again.
339
-
340
319
Then start a frontend that uses this backend by running this command in another
341
320
terminal session (the frontend picks up frontend changes using live reload
342
321
without a restart needed, and you can leave the frontend running while you
You can’t perform that action at this time.
0 commit comments