Blog Posts
Using SST to deploy to AWS. I am curious to see if that's worth it.
Steps to get local dev server up
- Make sure that SSTV2 is installed. SSTV3 won't work. Use
npm install sst@two --save-exact
to download - In the root directory (i.e the SST app) run
npx sst dev
cd astro/
and then rnnpm run dev
- At this point the dev server is running on local host
cd astro/
and then runnpm run build
- In the root directly run
npx sst build
- In the root director (i.e the SST app) run
npx sst deploy --stage prod
This CLI is great for converting mermaid diagrams to SVGs that can then be included in posts https://github.com/mermaid-js/mermaid-cli. There's also a way to include them directly in the astro markdown but I couldn't get that to work.