Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Feb 2, 2024
1 parent 082a912 commit f39043a
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ ga:
license-header:
update-license -path=./ -license=./HEADER

.PHONY: indexer api generate test lint cover api-docs ga license-header
build:
docker-compose up -d --build

.PHONY: indexer api generate test lint cover api-docs ga license-header build
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# Astria Indexer
# Astria Indexer

## Standalone

To run indexer clone repository, open directory containing project and run build command. Example:

```bash
git clone [email protected]:celenium-io/astria-indexer.git
cd astria-indexer
make build
```

or by docker compose


```bash
git clone [email protected]:celenium-io/astria-indexer.git
cd astria-indexer
docker-compose up -d --build
```

You can set environment variables for customizing instances and indexing logic. Example of environment file can be found [here](.env.example).
2 changes: 1 addition & 1 deletion cmd/api/docs/docs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/api/docs/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions cmd/api/docs/swagger.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions cmd/api/handler/ws_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// SPDX-FileCopyrightText: 2024 PK Lab AG <[email protected]>
// SPDX-License-Identifier: MIT

package handler

import (
Expand Down

0 comments on commit f39043a

Please sign in to comment.