Skip to content

automazeio/website

Repository files navigation

Automaze Website

Development Setup

Prerequisites

  • PHP 8.3+
  • Composer

Installation

  1. Clone the repository:

    git clone https://github.com/automazeio/website.git
    cd website
  2. Initialize the Tiny framework submodule:

    git submodule update --init --recursive
  3. Install dependencies:

    composer install
  4. Set up environment variables:

    cp .env.example .env
    # Edit .env as needed
  5. Run database migrations:

    php tiny migrate
  6. Start the development server:

    php -S localhost:8000 -t public/

Docker Setup

Prerequisites

  • Docker
  • Docker Compose
  • Git

Installation with Docker

  1. Clone the repository:

    git clone https://github.com/automazeio/website.git
    cd website
  2. Initialize the Tiny framework submodule:

    git submodule update --init --recursive
  3. Set up environment variables:

    cp .env.local.example .env.local
    # Edit .env.local with your configuration
  4. Start the Docker container:

    docker-compose up -d
  5. Install dependencies:

    docker-compose exec app composer install
  6. Run database migrations:

    docker-compose exec app php tiny migrate
  7. Access the application:

    http://localhost:2345
    

Production Deployment with Docker

The application has been successfully dockerized and deployed to production. The production setup includes:

  • Optimized container configuration for performance and security
  • Environment-specific configuration management
  • Proper volume mounting for persistent data
  • Integration with production services
  • Enhanced PHP functionality through php84-pecl-excimer extension

Development with Docker

  • View logs:

    docker-compose logs -f app
  • Access shell:

    docker-compose exec app sh
  • Rebuild container after Dockerfile changes:

    docker-compose up -d --build

Directory Mounting

The setup mounts these directories:

  • Project root to /var/www
  • storage directory for logs and uploads

License

Proprietary - Copyright © 2025 Automaze, Ltd.

About

Automaze website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •