-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
github-actions[bot] edited this page Apr 29, 2025
·
1 revision
This guide will help you set up Teko on your development environment.
- PHP 8.2+
- Composer
- Node.js 16+ & NPM
- Python 3.10+
- Docker & Docker Compose
- MySQL 8.0+
git clone https://github.com/your-username/teko.git
cd teko# Install PHP dependencies
composer install
# Copy environment file
cp .env.example .env
# Generate app key
php artisan key:generate# Start MySQL container
docker compose up -d
# Update .env file with database credentials
# DB_CONNECTION=mysql
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=teko
# DB_USERNAME=teko
# DB_PASSWORD=root
# Run migrations
php artisan migrate# Set up Python virtual environment
make python-setupnpm install
npm run buildphp artisan serveVisit http://localhost:8000 in your browser.
If you have direnv installed, simply navigate to the project directory, and your environment will be set up automatically:
cd teko
direnv allowSee direnv setup for more details.
For production deployment, additional steps are recommended:
- Set proper environment variables
- Run optimizations:
php artisan optimize - Configure secure web server (Nginx/Apache)
- Set up a proper queue worker
- Configure a task scheduler
See the deployment documentation for more details.