Installation
🚜
?? need to note requirements?
- astro reqs (node, npm, npx, nvm) (min versions?)
- mysql locally (8) (use dbngin, herd, mamp, xamp)
Clone the repository
npx degit jyoungblood/darkwave my-projectcd my-projectInstall dependencies
npm installInitialize your database and SMTP account, have the credentials ready to add to your new .env file.
(on your own)
- set up a mysql db, have the credentials ready to add to .env
- mysql 8, utf8mb4
- same for SMTP
Configure environment variables (add your database, mail server, etc)
mv .env.example .envGenerate Better-Auth secret (save this to your .env file)
openssl rand -base64 32Initialize the database (and optionally create admin user)
npm run init?? need to have instructions for what to do in case of script failure? (manually run the BA/kysely init migration scripts)
Start development server
npm run dev(stuff i like)
- add deploy.sh
- add monitor.sh
also you might need to do some software updates out of the box (that’s just how this shit goes)
follow instructions if there are any alerts after you do npm run dev or npm run build
do an npm audit too, just for kicks
typically need to run npm audit --fix, npx @astrojs/upgrade, npm install kysely@lates, etc