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

Update setup guide #11

Closed
srph opened this issue Jan 19, 2024 · 2 comments
Closed

Update setup guide #11

srph opened this issue Jan 19, 2024 · 2 comments

Comments

@srph
Copy link
Contributor

srph commented Jan 19, 2024

#9 introduced more friction into the build step, and we should update the setup guide when we find the chance.

We also built stride-build instead of simply using stride's proto files because of type conflicts + duplicates (related to #10)

To sum up, we probably manually built and removed some directories.

@srph
Copy link
Contributor Author

srph commented Jan 19, 2024

Draft

Update git submodules

git submodule sync --recursive
git submodule update --init --recursive

Checkout relevant branches (optional)

If there are any branches you should be using instead:

cd stride
git checkout <branch>
git pull origin <branch>

cd ../

cd cosmos
git checkout <branch>
git pull origin <branch>

Rebuild stride proto build

npm run codegen:build

Copy stride proto build for customizability

mkdir -p stride-build
cp -r ./stride/build/* ./stride-build

Afterwards, remove files or directories as needed

Codegen

Taken straight from the README

npm run codegen
npm run buidl

@srph srph mentioned this issue Jan 19, 2024
2 tasks
@srph
Copy link
Contributor Author

srph commented Jun 10, 2024

Added here 422d949

@srph srph closed this as completed Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant