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

adds yarn setup commands #814

Closed
wants to merge 1 commit into from
Closed

Conversation

Hotmanics
Copy link
Contributor

@Hotmanics Hotmanics commented Apr 16, 2024

Description

Simplifies the setup process when cloning a new project by adding yarn setup as a command from the root directory. As a result, it copies .env.example to .env. Without doing this command, you will receive an error when you try to deploy to localhost (atleast on projects using Foundry).

Additional Information

Your ENS/address: JacobHomanics.eth

@technophile-04
Copy link
Collaborator

When using foundry with npx create-eth@latest it creates .env for you already. So yarn deploy and yarn chain should work out of the box

@Hotmanics
Copy link
Contributor Author

Hotmanics commented May 28, 2024

When using foundry with npx create-eth@latest it creates .env for you already. So yarn deploy and yarn chain should work out of the box

If you follow that workflow then yes, that works wonderfully!

However when dealing with forks using git clone, they do not follow that, and encounter errors during deployment (and possibly testing?).

Currently making part of the workflow when cloning any new fork to be:

cd packages/foundry

cp .env.example .env

cd ../../

when it can be as simple as

yarn setup

Maybe a problem the forks need to handle? IMO, SE2 should play as nicely with forks as possible.

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

Successfully merging this pull request may close these issues.

None yet

2 participants