Initial commit

This commit is contained in:
tofu
2026-03-03 21:42:51 +05:00
commit b1c3b657c2
43 changed files with 833 additions and 0 deletions

25
bin/setup Normal file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
# This script is a way to set up and keep your development environment updated
# automatically. It is meant to be idempotent so that you can run it at any
# time to get the same result. Add any new necessary setup steps to this file
# as your application evolves.
announce() {
local bold='\033[1m'
local reset='\033[0m'
printf "${bold}${1}${reset}\n"
}
announce "Running bundle install..."
bundle check || bundle install
announce "\nRunning npm install..."
npm install
announce "\nPreparing the database..."
hanami db prepare
announce "\n🌸 Setup complete!"