Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANCHOR-743] Fixed the incorrect server label in docker_compose.yaml file #1591

2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
To start the services: `docker-compose --profile v2-stable up`
maintainer: "[email protected]"

stable-servers:
latest-servers:
extends:
file: service-runner/src/main/resources/common/docker-compose.yaml
service: dev-servers
Expand Down
29 changes: 29 additions & 0 deletions docs/01 - Contributing/0 - Quick Start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# How to quick start Anchor Platform
## Prepare Docker daemon
Before you start, please make sure that `docker` daemon or Docker Desktop is running.

## Git clone the repository
Download Anchor Platform repository from GitHub:
```shell
git clone [email protected]:stellar/java-stellar-anchor-sdk.git
cd java-stellar-anchor-sdk
```

## Run the Anchor Platform
### Version 2.x stable release
Run the Anchor Platform with version 2.x stable release in default configuration:
```shell
docker compose --profile v2-stable up
```
### Latest release
Run the Anchor Platform with latest release in default configuration:
```shell
docker compose --profile latest up
```

### Run the Anchor Platform with locally built image
Run the Anchor Platform with locally built image in default configuration:
```shell
docker build -t stellar/anchor-platform:local .
docker compose --profile local up
```
4 changes: 4 additions & 0 deletions docs/01 - Contributing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
Check out the [Stellar Contribution Guide](https://github.com/stellar/.github/blob/master/CONTRIBUTING.md) that apply to
all Stellar projects.

## Quick Start Anchor Platform
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also have quick start instructions in the main README https://github.com/stellar/java-stellar-anchor-sdk/blob/develop/docs/README.md#quickstart. Should we merge the two?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed and left one-line fix.


Check out the [How to quick start Anchor Platform with default configuration](0%20-%20Quick%20Start.md) guide.

## Set up the Development Environment

Check out
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ private String constructPostgressUrl(ConfigMap config) {
schema = "public";
}
return String.format(
"jdbc:postgresql://%s/%s?currentSchema=%s",
config.getString("data.server"), config.getString("data.database"), schema);
"jdbc:postgresql://%s/%s?currentSchema=%s",
config.getString("data.server"), config.getString("data.database"), schema);
}

private String constructSQLiteUrl(ConfigMap config) {
Expand Down
Loading