Skip to content

Commit 9e4e288

Browse files
committed
update database in provision
1 parent eea831c commit 9e4e288

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Vagrantfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,19 @@ EOF
128128
su - cratesfyi -c "cd /vagrant && cargo run -- build crate rand 0.3.15" 2>&1
129129
su - cratesfyi -c "cd /vagrant && cargo run -- build crate log 0.3.6" 2>&1
130130
su - cratesfyi -c "cd /vagrant && cargo run -- build crate regex 0.1.80" 2>&1
131+
132+
############################################################
133+
# Update search index and release activity #
134+
############################################################
135+
su - cratesfyi -c "cd /vagrant && cargo run -- database update-search-index" 2>&1
136+
su - cratesfyi -c "cd /vagrant && cargo run -- database update-release-activity" 2>&1
137+
138+
139+
############################################################
140+
# docs.rs vagrant box is ready! #
141+
#----------------------------------------------------------#
142+
# You can connect to virtual machine with `vagrant ssh`. #
143+
# docs.rs is available in `/vagrant` folder! #
144+
############################################################
131145
SHELL
132146
end

0 commit comments

Comments
 (0)