Skip to content

Latest commit

 

History

History
78 lines (56 loc) · 1.66 KB

File metadata and controls

78 lines (56 loc) · 1.66 KB

Codemanufacture Website

The official website for Codemanufacture - Magento experts.

Built with Hugo and modern CSS (nesting, @layer, custom properties, oklch()).

Development

Prerequisites

  • Nix with flakes enabled (recommended)
  • Or: Hugo extended

Using Nix (recommended)

# Enter the development shell
nix develop

# Start development server
hugo server

Manual Setup

# Start Hugo development server
hugo server

The site will be available at http://localhost:1313.

Build

hugo --minify

The output will be in the public/ directory.

Deployment

The site is automatically deployed to AWS S3 via GitHub Actions when pushing to the master branch.

Required GitHub Secrets:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • S3_BUCKET_NAME

Project Structure

.
├── archetypes/          # Content templates
├── assets/
│   ├── css/             # Stylesheets (modern CSS)
│   └── js/              # JavaScript
├── content/
│   ├── blog/            # Blog posts
│   └── privacy-policy.md
├── data/
│   ├── authors.json     # Author data
│   └── services.json    # Services data
├── layouts/
│   ├── _default/        # Default templates
│   ├── blog/            # Blog templates
│   └── partials/        # Reusable partials
├── static/
│   └── images/          # Static images
├── hugo.toml            # Hugo configuration
└── flake.nix            # Nix configuration

License

Apache-2.0