Open chrisbbreuer opened 9 months ago
curl -Ssf stacksjs.org | sh
The script is designed to work with or without an argument. The former where it expects an argument is used to bootstrap the project and install all dependencies.
The latter is assumed to have all the required dependencies ready.
We can't get to the latter until we have bootstrapped a project. The above command is for the 2nd case.
So it's either we change the initial script to pass the project name argument, eg:
curl -Ssf https://stacksjs.org/bootstrap | sh -s -- myProjectName
or we adjust the script accordingly like we can assume a default directory name for initial project bootstrap.
@chrisbbreuer your inputs appreciated. thanks
I will look into here a little more thoroughly toward end of day today, but I'd say we adjust the script accordingly so that it properly works without any inputs as well.
For example, if we don't pass a project name, we can prompt for it, or default to stacks
. Something along those lines, I am thinking.
One thing I know we want to test and optimize for as well is the ./buddy setup
script. I was thinking that it makes sense to run this at last within this automation.
For example,
and please check the remainder of what's inside the setup command
Thanks. I look forward to your response.
Clear and concise description of the problem
A cross-platform, zero-setup onboarding experience via
curl -Ssf stacksjs.org | sh
Suggested solution
./bootstrap
is the only file that should be run to set up any user's dev env (mac, windows, linux) -> needs to make sure all proper prerequisites are installed, and if not, prompt to install via pkgxbuddy setup
workscurl -Ssf stacksjs.org | sh
works./config
filesNice-to-haves
bun create
templatesValidations