Installation

Get OmarCMS running locally in under 5 minutes.

Prerequisites

  • Node.js 18+ installed
  • pnpm (or npm/yarn)
  • Git

1. Clone the repository

git clone https://github.com/ewimsatt/OmarCMS.git my-blog
cd my-blog

2. Install dependencies

pnpm install

Or with npm:

npm install

3. Start the dev server

pnpm dev

Your site will be available at http://localhost:4321

4. Customize your site

Edit the following to make it yours:

  • package.json - Site name and metadata
  • src/pages/index.astro - Homepage content
  • src/pages/about.astro - About page
  • src/data/tags.json - Tag taxonomy
  • src/components/CustomHead.astro - Add Google Analytics, verification tags, etc.

5. Add Analytics (Optional)

To add Google Analytics, Search Console verification, or other tracking codes, edit src/components/CustomHead.astro and paste your scripts. See Configuration for examples.

Next Steps