-
Notifications
You must be signed in to change notification settings - Fork 19
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
Osmosis #630
Closed
Osmosis #630
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
54cc993
osmosis FE stack
zramsay 8ad2b69
chmod
zramsay 7d27eae
dont use 3000
zramsay 0d91a62
fix for neww stack format
zramsay 926997b
updates
zramsay 5f556e1
update osmosis readme
zramsay 88db2ff
Update stack.yml
zramsay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
stack_orchestrator/data/compose/docker-compose-osmosis-front-end.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: "3.2" | ||
|
||
services: | ||
osmosis-front-end: | ||
image: cerc/osmosis-front-end:local | ||
restart: always | ||
ports: | ||
- "3002:3002" #TODO make `3000` when using the deployment feature |
4 changes: 4 additions & 0 deletions
4
stack_orchestrator/data/container-build/cerc-osmosis-front-end/build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
# Build the osmosis front end image | ||
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh | ||
docker build -t cerc/osmosis-front-end:local -f ${CERC_REPO_BASE_DIR}/osmosis-frontend/docker/Dockerfile ${build_command_args} ${CERC_REPO_BASE_DIR}/osmosis-frontend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# self-hosted osmosis | ||
|
||
Build and deploy: | ||
- 1) self-hosted gitea, | ||
- 2) an ipfs node, | ||
- 3) the osmosis front end, | ||
- 4) a laconicd chain | ||
|
||
|
||
``` | ||
# support image for the gitea package registry | ||
laconic-so --stack build-support build-containers | ||
|
||
# todo: pre-run clone | ||
|
||
# clones and builds several things | ||
laconic-so --stack osmosis setup-repositories | ||
laconic-so --stack osmosis build-containers | ||
laconic-so --stack osmosis deploy up | ||
``` | ||
|
||
Setup a test chain: | ||
``` | ||
export CERC_NPM_REGISTRY_URL=https://git.vdb.to/api/packages/cerc-io/npm/ | ||
|
||
laconic-so --stack fixturenet-laconic-loaded setup-repositories --include git.vdb.to/cerc-io/laconicd,git.vdb.to/cerc-io/laconic-sdk,git.vdb.to/cerc-io/laconic-registry-cli,git.vdb.to/cerc-io/laconic-console | ||
|
||
laconic-so --stack fixturenet-laconic-loaded build-containers | ||
|
||
export LACONIC_HOSTED_ENDPOINT=http://<your-IP> | ||
|
||
laconic-so --stack fixturenet-laconic-loaded deploy up | ||
``` | ||
|
||
then `docker exec` into the `laconicd` container and either export the private key or create a new one and send funds to it. Use that private key for `LACONIC_HOTWALLET_KEY`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
version: "0.1" | ||
name: osmosis | ||
repos: | ||
# these are for gitea | ||
- git.vdb.to/cerc-io/hosting@names-for-so | ||
- gitea.com/gitea/act_runner | ||
# add the osmosis FE | ||
- github.com/osmosis-labs/osmosis-frontend | ||
containers: | ||
- cerc/act-runner | ||
- cerc/act-runner-task-executor | ||
# note: osmosis builds but doesn't run | ||
- cerc/osmosis-front-end | ||
pods: | ||
- name: gitea | ||
repository: cerc-io/hosting | ||
path: gitea | ||
pre_start_command: "run-this-first.sh" | ||
post_start_command: "initialize-gitea.sh" | ||
# todo, e.g., mirroring all of osmosis repos: https://git.vdb.to/cerc-io/hosting/pulls/42 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. tidy this PR: https://git.vdb.to/cerc-io/hosting/pulls/42 |
||
- name: act-runner | ||
repository: cerc-io/hosting | ||
path: act-runner | ||
pre_start_command: "pre_start.sh" | ||
post_start_command: "post_start.sh" | ||
- osmosis-front-end | ||
- kubo |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when i run this stack, i should have the equivalent of app.osmosis.zone running