Skip to content

Install Script

Alberto edited this page Sep 19, 2023 · 13 revisions

You can easily clone this project using git or you can use one of the install scripts for Bash and Powershell.

Remember to change the my-kit-stack at the end of the one liner with your desired folder name to clone the project into.

After the script is finished you can insert your Environment Variables in the .env.local file and run bun dev to start the server.

Unix

curl -sL https://raw.githubusercontent.com/albbus-stack/kit-stack/main/install.sh \
   | sudo bash -c "./install.sh my-kit-stack"

Windows

iwr https://raw.githubusercontent.com/albbus-stack/kit-stack/main/install.ps1 -useb `
    | iex -ArgumentList "folderName=my-kit-stack"

For clarity

These two scripts do the following:

  • Clone the repo
  • Cleanup unused files
  • Create a local env
  • Install the dependencies & sync env
  • Create a new empty repo

The code

git clone https://github.com/albbus-stack/kit-stack.git $folderName
cd $folderName

rm -rf .git LICENSE install.sh install.ps1
mv .env.local.example .env.local

bun install
bun db:generate
bun env:sync

git init
Clone this wiki locally