2023-12-5

astro_blik_public is now available

Table of Contents

Publish blog part as astro_blik_public

A repository that displays entries with blog in the tags is now available at

https://github.com/imosan/astro_blik_public

If you add entries as .md or .mdx files under /src/content/blog/, it will function as a blog site. You can also redistribute and publish your original design by changing the css and tailwindcss descriptions in various places.

The setup procedure is as follows

Setup Instructions

Clone the astro_blik_public repository.


git clone https://github.com/imosan/astro_blik_public.git

Enter the cloned directory.


cd astro_blik_public

Install all packages.


npm install

If pnpm,


pnpm install

Start locally.


npm run dev

At the end, open the displayed URL in your browser. Typically, it is localhost:4321.

Deploy to vercel

Execute the vercel command.


vercel

Answer the following choices.


Vercel CLI 32.5.5
? Set up and deploy “/mnt/c/Development/Firebase/astro_blik_public”? [Y/n] Y
? Which scope do you want to deploy to? xxxx
? Link to existing project? [y/N] n
? In which directory is your code located? ./
? Want to modify these settings? [y/N] N

When the build finishes, the deployed URL will appear as Preview: https://xxx.vercel.app, which can be accessed.

The following is the author’s deployment using the above procedure.

https://astro-blik-public-m8v6hsy55-imosans-projects.vercel.app/

It is amazing how seamless and sophisticated vercel is, acting as if it is a part of github.

The vercel blob is still under preparation, but once it is up and running, it is likely to revolutionize the CMS world with the creation of services that handle everything from templates to deployment in a single step.