Skip to content

Commit 72dbbed

Browse files
jyn514Joshua Nelson
authored and
Joshua Nelson
committed
Document that start-web-server needs you to run migrations first
1 parent b93e53f commit 72dbbed

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,13 @@ cargo build
6464
# Start the extenal services
6565
docker-compose up -d db s3
6666
# Build a sample crate to make sure it works
67-
# This sets up the docs.rs build environment, including installing the nightly
68-
# Rust toolchain. This will take a while the first time but will be cached afterwards.
67+
# This sets up the docs.rs build environment,
68+
# including running the migrations and installing the nightly Rust toolchain.
69+
# This will take a while the first time but will be cached afterwards.
6970
cargo run -- build crate regex 1.3.1
7071
# This starts the web server but does not build any crates.
72+
# It does not automatically run the migrations, so you need to do that manually.
73+
cargo run database migrate
7174
cargo run start-web-server
7275
```
7376

0 commit comments

Comments
 (0)