Skip to content

devvir/mtav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTAV Development Environment

A Laravel + Vue.js + Inertia.js app with a streamlined Docker development setup.

🚀 Developer Quick Start

  1. Clone the repository

    git clone https://github.com/devvir/mtav
    cd mtav
  2. Start development environment

    ./mtav up

    This command automatically:

    • Creates your .env file
    • Builds all Docker containers
    • Installs PHP dependencies (Composer)
    • Installs JS dependencies (NPM)
    • Generates Laravel app key
    • Runs database migrations + seeding
    • Initializes git submodules (local packages)
    • Starts all services
  3. Open the application

That's it! You're ready to develop.

📋 Daily Development Commands

# Start your development day
./mtav up

# Update dependencies and run migrations
./mtav update

# Rebuild container images
./mtav rebuild         # Rebuild all images
./mtav rebuild php     # Rebuild only php image (and restart container)

# Quick break (containers preserved)
./mtav stop

# Stop everything (clean shutdown, containers stopped and removed)
./mtav down

# Check what's running
./mtav status

# Run all tests (frontend + backend)
./mtav test

# Run only frontend tests (Vitest)
./mtav test --vitest

# Run only backend tests (Pest)
./mtav test --pest

# Pass arguments to Pest
./mtav test --pest --filter="UserTest"
./mtav test --pest --stop-on-failure

# View logs
./mtav logs
./mtav logs php    # specific service

# Nuclear option: fresh rebuild
./mtav fresh

# Build new images for production
./mtav build <service> <tag>

# Development shortcuts
./mtav artisan migrate
./mtav composer require package/name
./mtav npm add vue-package
./mtav shell php

🌐 Application URLs

Development Workflow

  • Code changes: Auto-reload via Vite HMR
  • PHP changes: No restart needed, just refresh browser
  • Config changes: May require ./mtav down && ./mtav up
  • New dependencies: Run ./mtav update

📚 Documentation

About

Mejor Tecnología de Asignación de Viviendas - Facultad de Ingeniería, UdelaR

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •