Skip to content

Commit 64a70ca

Browse files
Koenraad VerheydenJoshua Nelson
authored andcommitted
Make 'blacklist' a subcommand of 'database'; update README
1 parent 4664736 commit 64a70ca

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,6 @@ docker-compose run web build world
142142
docker-compose run -v "$(realpath <SOURCE>)":/build web build crate --local /build
143143
```
144144

145-
#### `blacklist` subcommand
146-
147-
```sh
148-
# Adds <CRATE_NAME> to the blacklist
149-
# Crates on the blacklist will not be built
150-
docker-compose run web blacklist add <CRATE_NAME>
151-
152-
# Removes <CRATE_NAME> from the blacklist
153-
docker-compose run web blacklist remove <CRATE_NAME>
154-
```
155-
156145
#### `database` subcommand
157146

158147
```sh
@@ -175,6 +164,17 @@ docker-compose run -d db
175164
docker exec -it <the container name goes here> psql -U cratesfyi
176165
```
177166

167+
The database contains a blacklist of crates that should not be built.
168+
169+
```sh
170+
# Adds <CRATE_NAME> to the blacklist
171+
# Crates on the blacklist will not be built
172+
docker-compose run web database blacklist add <CRATE_NAME>
173+
174+
# Removes <CRATE_NAME> from the blacklist
175+
docker-compose run web database blacklist remove <CRATE_NAME>
176+
```
177+
178178
#### `daemon` subcommand
179179

180180
```sh

0 commit comments

Comments
 (0)