Skip to content

Possibly stale docs for building without docker-compose #1395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nolash opened this issue May 5, 2021 · 1 comment · Fixed by #1420
Closed

Possibly stale docs for building without docker-compose #1395

nolash opened this issue May 5, 2021 · 1 comment · Fixed by #1420

Comments

@nolash
Copy link

nolash commented May 5, 2021

Trying recipe in https://forge.rust-lang.org/docs-rs/no-docker-compose.html but halted by these database subcommands that don't exist any longer on the version I have:

$ cargo run database update-search-index
[...]
error: The subcommand 'update-search-index' wasn't recognized
[...]
$ cargo run database update-release-activity
[...]
error: The subcommand 'update-release-activity' wasn't recognized
[...]
$ cargo run database --help
    Finished dev [unoptimized + debuginfo] target(s) in 0.28s
     Running `target/debug/cratesfyi database --help`
cratesfyi-database 0.6.0
Database operations

USAGE:
    cratesfyi database <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    add-directory                   
    backfill-repository-stats       Backfill GitHub/Gitlab stats for crates
    blacklist                       Blacklist operations
    delete                          Remove documentation from the database
    help                            Prints this message or the help of the given subcommand(s)
    migrate                         Run database migration
    update-crate-registry-fields    Updates info for a crate from the registry's API
    update-repository-fields        Updates Github/Gitlab stats for crates
$ cargo --version
cargo 1.50.0-nightly (bfca1cd22 2020-11-24)

my docs.rs commit: 3d582f5

Furthermore, I seemed to have to run the install_requirements.sql manually from dockerfile/ in order to get search to work at all.

@nolash nolash changed the title docs without docker-compose Possibly stale docs for building without docker-compose May 5, 2021
@jyn514
Copy link
Member

jyn514 commented Jun 12, 2021

I don't think this is really supported anymore; at least, no one at the team is regularly using it. I think we should remove the forge page and change https://github.com/rust-lang/docs.rs#running-tests so it doesn't point there (that section is pretty out of date as well - it confuses "no docker-compose at all" with "no docker-compose for the web server").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants