mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 07:52:19 +03:00
e1ae0d46da
This PR adds a REST API to the collab server for searching and downloading extensions. Previously, we had implemented this API in zed.dev directly, but this implementation is better, because we use the collab database to store the download counts for extensions. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com> Co-authored-by: Marshall <marshall@zed.dev> Co-authored-by: Conrad <conrad@zed.dev>
21 lines
446 B
Bash
Executable File
21 lines
446 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "installing foreman..."
|
|
which foreman > /dev/null || brew install foreman
|
|
|
|
echo "installing minio..."
|
|
which minio > /dev/null || brew install minio/stable/minio
|
|
mkdir -p .blob_store/the-extensions-bucket
|
|
|
|
echo "creating database..."
|
|
script/sqlx database create
|
|
|
|
echo "migrating database..."
|
|
(cd crates/collab && cargo run -- migrate)
|
|
|
|
echo "seeding database..."
|
|
script/seed-db
|
|
|
|
echo "Linux dependencies..."
|
|
script/linux
|