- PHP 8.3+
- Composer
-
Clone the repository:
git clone https://github.com/automazeio/website.git cd website
-
Initialize the Tiny framework submodule:
git submodule update --init --recursive
-
Install dependencies:
composer install
-
Set up environment variables:
cp .env.example .env # Edit .env as needed
-
Run database migrations:
php tiny migrate
-
Start the development server:
php -S localhost:8000 -t public/
- Docker
- Docker Compose
- Git
-
Clone the repository:
git clone https://github.com/automazeio/website.git cd website
-
Initialize the Tiny framework submodule:
git submodule update --init --recursive
-
Set up environment variables:
cp .env.local.example .env.local # Edit .env.local with your configuration
-
Start the Docker container:
docker-compose up -d
-
Install dependencies:
docker-compose exec app composer install
-
Run database migrations:
docker-compose exec app php tiny migrate
-
Access the application:
http://localhost:2345
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
-
View logs:
docker-compose logs -f app
-
Access shell:
docker-compose exec app sh
-
Rebuild container after Dockerfile changes:
docker-compose up -d --build
The setup mounts these directories:
- Project root to
/var/www
storage
directory for logs and uploads
Proprietary - Copyright © 2025 Automaze, Ltd.