File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,16 @@ mkdir -p ignored/cratesfyi-prefix/crates.io-index
63
63
cargo build
64
64
# Start the external services
65
65
docker-compose up -d db s3
66
+ # Setup the database you just created
67
+ cargo run -- database migrate
66
68
# Build a sample crate to make sure it works
67
- # This sets up the docs.rs build environment,
68
- # including running the migrations and installing the nightly Rust toolchain.
69
+ # This also sets up the docs.rs build environment.
69
70
# This will take a while the first time but will be cached afterwards.
70
71
cargo run -- build crate regex 1.3.1
71
72
# Generate important files for the web navigation
72
73
cargo run -- build add-essential-files
73
74
# This starts the web server but does not build any crates.
74
- # It does not automatically run the migrations, so you need to do that manually.
75
- cargo run -- database migrate
76
- # Start the web server. It doesn't automatically reload templates though!
75
+ # It does not automatically run the migrations, so you need to do that manually (see above).
77
76
cargo run -- start-web-server
78
77
# If you want the server to automatically reload templates if they are modified:
79
78
cargo run -- start-web-server --reload-templates
You can’t perform that action at this time.
0 commit comments