Closed nicosampler closed 2 months ago
@nicosampler as this is not part of the repo, I'll let you know of this task progress here...
I addressed all the suggestions (I guess)
you can see the result in the following video:
https://github.com/user-attachments/assets/7e6b1246-5a0e-45bb-ac61-cc9a8653dfb0
The only difference is that aside from removing the .git dir, it also runs git init
, so the user can do an initial commit with whatever they want.
Let me know if it works well for you
What's the repo for this script?
We should add it to the project's repos if there's one.
What's the repo for this script?
We should add it to the project's repos if there's one.
there's no repo, it was just a personal tiny project to automate the project setup. Maybe we can move it to a new project when we work on #243
Cool.
We use pnpm, so pnpm dlx
would be more adequate I guess.
I tested it and it works.
Adding
cp .env.example .env.local
and
pnpm i
to the script would be nice (or make it optional maybe?).
Can we move this to a company owned repo, or has it to be an individual's repo?
I'll move it to the org, not sure about making the other steps.
Although, they can be easily added. Will give it a try
@gabitoesmiapodo https://github.com/BootNodeDev/dAppBooster-starter 👀
Nice.
We should add this to dAppBooster's readme. My only concern is that there's some divergence regarding the steps in the readme (copying .env.example
to .env.local
and running pnpm i
are missing here, for example).
Somebody might run pnpx dappbooster my-project
and miss those because they thought that they were already executed.
Maybe we can address that by adding a final note "Remember to do so and so..."
closing this, with the following final version:
After testing out
npx dappboster
I think we could do the following modifications. Please, if you find the following suggestions are not necessary just close the issue.Allow defining the folder name where the dappboster code will be located, for example
npx dappbooster myNyDapp
.The following is not something I am convinced of, but is the common practice to keep pointing to the dappboster repository? Most of the time users will want to manage their repo, so perhaps we can:
pnpm install
we could suggest to run:
git init
git remote add dappbooster git@github.com:BootNodeDev/dAppBooster.git