Skip to content

Commit f6eaee8

Browse files
ELginassyphar
authored andcommitted
Add SQLX_OFFLINE environment flag to documentation
Building without `SQLX_OFFLINE=1` fails because sqlx complains about "relative URL without a base" error and makes it more consistent with GitHub Actions test build because it already includes this environment flag.
1 parent 68032bc commit f6eaee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cp .env.sample .env
6262
# Create the DOCSRS_PREFIX directory
6363
mkdir -p ignored/cratesfyi-prefix/crates.io-index
6464
# Builds the docs.rs binary
65-
cargo build
65+
SQLX_OFFLINE=1 cargo build
6666
# Start the external services.
6767
# It may be `docker compose` in newer versions
6868
docker-compose up -d db s3

0 commit comments

Comments
 (0)