You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
401 B
29 lines
401 B
2 years ago
|
# RUNNING `docker-compose`
|
||
|
```bash
|
||
|
docker compose up -d
|
||
|
```
|
||
|
# SHUTTING DOWN
|
||
|
```bash
|
||
|
docker compose down -v
|
||
|
```
|
||
|
# ENV
|
||
|
```bash
|
||
|
set searchkey=<up-to-you>
|
||
|
```
|
||
|
# CONNECT TO TYPESENSE
|
||
|
```bash
|
||
|
curl -f http://localhost:9108/health
|
||
|
```
|
||
|
|
||
|
* the result should be
|
||
|
```bash
|
||
|
{"ok":true}%
|
||
|
```
|
||
|
# RUNNING TEST CONNECTION WITH GO
|
||
|
```bash
|
||
|
go run main.go
|
||
|
```
|
||
|
* the output should be
|
||
|
```bash
|
||
|
connection successfully true
|
||
|
```
|