This repo is very similar to my live production blog found here: My Blog
Clone the repo first and navigate to the dev-blog directory.
Make sure you nave node (tested with v18.17.1) and npm (tested with 10.0.0) installed.
# Install the dependencies
npm install
# Start the dev server
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.