// /blog/getting-started-with-ocms
Blog post featured image

Getting Started with oCMS

This guide will help you get oCMS up and running in minutes. Prerequisites Go 1.24 or later Node.js 20+ (for asset compilation) Make (optional, for convenience) Quick Start 1. Clone the Repository...

This guide will help you get oCMS up and running in minutes.

Prerequisites

  • Go 1.24 or later
  • Node.js 20+ (for asset compilation)
  • Make (optional, for convenience)

Quick Start

1. Clone the Repository

git clone https://github.com/olegiv/ocms-go.git
cd ocms-go

2. Build Assets

make assets

3. Run the Server

OCMS_SESSION_SECRET=your-secret-key-here make dev

4. Access the Admin

Open http://localhost:8080/admin and login with the default credentials.

Configuration

oCMS is configured via environment variables:

  • OCMS_SESSION_SECRET - Required. Min 32 characters.
  • OCMS_DB_PATH - Database location (default: ./data/ocms.db)
  • OCMS_SERVER_PORT - HTTP port (default: 8080)
  • OCMS_ACTIVE_THEME - Theme name (default: default)

Next Steps

  • Create your first page in the admin panel
  • Customize the theme to match your brand
  • Set up categories and tags for content organization
  • Configure menus for site navigation
/**
* @author

Demo Admin