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 metadatasrc/pages/index.astro- Homepage contentsrc/pages/about.astro- About pagesrc/data/tags.json- Tag taxonomysrc/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
- Writing Content - Create your first post
- Configuration - Customize your site
- Publishing - Deploy to production