You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web application to query Git repositories using SQL. Powered by [gitbase](https://github.com/src-d/gitbase), it allows to perform SQL queries on the Git history and the [Universal AST](https://doc.bblf.sh/) of the code itself.
6
+
Application to query Git repositories using SQL. Powered by [gitbase](https://github.com/src-d/gitbase), it allows to perform SQL queries on the Git history and the [Universal AST](https://doc.bblf.sh/) of the code itself.
7
7
8
8

9
9
10
10
# Usage
11
11
12
12
## With Docker Compose
13
13
14
-
The easiest way to run Gitbase Playground and its dependencies is using [Docker Compose](https://docs.docker.com/compose/install/).
14
+
The easiest way to run Gitbase Web and its dependencies is using [Docker Compose](https://docs.docker.com/compose/install/).
15
15
16
16
The first step is to populate a directory with some Git repositories to be served by gitbase before running it. For example:
Next you will need to download the `docker-compose.yml` file from this repository and run `docker-compose`. This tool will run three different containers: the playground frontend itself, gitbase, and bblfshd. To kill the running containers use `Ctrl+C`.
26
+
Next you will need to download the `docker-compose.yml` file from this repository and run `docker-compose`. This tool will run three different containers: the gitbase-web frontend itself, gitbase, and bblfshd. To kill the running containers use `Ctrl+C`.
$ GITBASEPG_REPOS_FOLDER=$HOME/repos docker-compose up --force-recreate
32
32
```
@@ -41,29 +41,29 @@ for cleanup.
41
41
42
42
## Without Docker Compose
43
43
44
-
The playground will run the queries against a [gitbase](https://docs.sourced.tech/gitbase) server, and will request UASTs to a [bblfsh](https://doc.bblf.sh/) server. Make sure both are properly configured.
44
+
The application will run the queries against a [gitbase](https://docs.sourced.tech/gitbase) server, and will request UASTs to a [bblfsh](https://doc.bblf.sh/) server. Make sure both are properly configured.
45
45
46
-
Then you can choose to run the Gitbase Playground either as a docker container, or as a binary.
46
+
Then you can choose to run the web client either as a docker container, or as a binary.
@@ -83,7 +83,7 @@ Any of the previous execution methods accept configuration through the following
83
83
84
84
# Contribute
85
85
86
-
[Contributions](https://github.com/src-d/gitbase-playground/issues) are more than welcome, if you are interested please take a look to our [Contributing Guidelines](docs/CONTRIBUTING.md). There you will also find information on how to build and run the project from sources.
86
+
[Contributions](https://github.com/src-d/gitbase-web/issues) are more than welcome, if you are interested please take a look to our [Contributing Guidelines](docs/CONTRIBUTING.md). There you will also find information on how to build and run the project from sources.
@@ -69,8 +69,8 @@ Each one of the following sections describes an alternative method to run the pr
69
69
They all require the project is cloned into your `$GOPATH`.
70
70
71
71
```bash
72
-
$ go get -d -u github.com/src-d/gitbase-playground/...
73
-
$ cd$GOPATH/github.com/src-d/gitbase-playground
72
+
$ go get -d -u github.com/src-d/gitbase-web/...
73
+
$ cd$GOPATH/github.com/src-d/gitbase-web
74
74
```
75
75
76
76
## Run from Sources
@@ -90,7 +90,7 @@ Instead of rebuilding the frontend and restarting the backend every time you do
90
90
In one terminal run the Go backend:
91
91
92
92
```bash
93
-
$ GITBASEPG_ENV=dev go run cmd/gitbase-playground/main.go
93
+
$ GITBASEPG_ENV=dev go run cmd/gitbase-web/main.go
94
94
```
95
95
96
96
In another terminal, run the frontend:
@@ -101,7 +101,7 @@ $ yarn --cwd frontend start
101
101
102
102
## Run with Docker Compose from Sources
103
103
104
-
The file `docker-compose.build.yml` overrides the default compose file. Using it a new docker image, `gitbase-playground-dev`, will be created from the current sources.
104
+
The file `docker-compose.build.yml` overrides the default compose file. Using it a new docker image, `gitbase-web-dev`, will be created from the current sources.
105
105
106
106
```bash
107
107
$ make dependencies
@@ -151,7 +151,7 @@ Use the `GITBASEPG_INTEGRATION_TESTS=true` environment variable with the same `m
151
151
152
152
The integration tests require that `gitbase` and `bblfshd` are running and reachable. See the [Requirements section](#requirements) above for more details.
153
153
154
-
It is also required to configure the running `gitbase` to serve a copy of the `https://github.com/src-d/gitbase-playground` repository.
154
+
It is also required to configure the running `gitbase` to serve a copy of the `https://github.com/src-d/gitbase-web` repository.
0 commit comments