summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2018-07-27 18:16:30 +0100
committerKornel <kornel@geekhood.net>2018-07-28 15:06:00 +0100
commita4c30450bc693dd30ffa8f9e3c2149e1d10027de (patch)
treeda38b770e2b71b522a8855ea4573622bcfa15100
parent62875d3a598061726ab78437125bfe43091ebc24 (diff)
Rename db file
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
-rw-r--r--README.md2
m---------kitchen_sink10
4 files changed, 10 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 1a652da..6062f06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,6 @@
target/
data/*.db
data/*.xz
+data/Makefile
+data/index.html
data/git
diff --git a/Makefile b/Makefile
index 2182a4a..3563ee1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ website: caches data/index/1 styles
cd front_end && cargo run --release --bin website
cd style && npm start
-caches: data/cache.db data/crates.db data/github.db data/category_keywords.db data/users.db
+caches: data/cache.db data/crates.db data/github.db data/crate_meta.db data/users.db
styles: style/public/index.css
@@ -25,7 +25,7 @@ data/index/1:
-rm -f $@
unxz -vk $<
-data/cache.db.xz data/github.db.xz data/category_keywords.db.xz data/users.db.xz data/crates.db:
+data/cache.db.xz data/github.db.xz data/crate_meta.db.xz data/users.db.xz data/crates.db:
@echo Downloading $@
curl --fail --output $@ https://crates.rs/$@
diff --git a/README.md b/README.md
index 6ae1a5a..11091c9 100644
--- a/README.md
+++ b/README.md
@@ -42,7 +42,7 @@ If you'd like to help improve it:
1. [Get the initial data files](https://crates.rs/data) for the site (about 2GB).
2. Extract the data files in `.xz` format using [7zip](https://www.7-zip.org/download.html), [The Unarchiver (Mac)](https://theunarchiver.com/) or `unxz data/*.xz`.
- * Put them all (`cache.db`, `crates.db`, `github.db`, `users.db`, `category_keywords.db`) in the `data/` subdirectory of crates.rs checkout.
+ * Put them all (`cache.db`, `crates.db`, `github.db`, `users.db`, `crate_meta.db`) in the `data/` subdirectory of crates.rs checkout.
3. Generate front-end [styles](https://gitlab.com/crates.rs/style):
diff --git a/kitchen_sink b/kitchen_sink
-Subproject b6d677c58d270aa8a7e41725dd62ccdd4ced2c2
+Subproject 9994dc2bb3fa30402b868add20b18ab03528312