diff --git a/.env.example b/.env.example index 2d7f02f..f79ae04 100644 --- a/.env.example +++ b/.env.example @@ -1,59 +1,53 @@ -APP_NAME=Laravel +APP_NAME=pedi3 APP_ENV=local APP_KEY= APP_DEBUG=true APP_URL=http://localhost LOG_CHANNEL=stack -LOG_DEPRECATIONS_CHANNEL=null -LOG_LEVEL=debug + +USERID=1000 DB_CONNECTION=mysql -DB_HOST=127.0.0.1 -DB_PORT=3306 -DB_DATABASE=laravel -DB_USERNAME=root -DB_PASSWORD= +DB_HOST=db +DB_PORT_EXPOSED=3306 +DB_DATABASE=pedi3 +DB_USERNAME=pedi3 +DB_PASSWORD=pedi3 BROADCAST_DRIVER=log CACHE_DRIVER=file -FILESYSTEM_DISK=local QUEUE_CONNECTION=sync -SESSION_DRIVER=database +SESSION_DRIVER=file SESSION_LIFETIME=120 -MEMCACHED_HOST=127.0.0.1 - REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_MAILER=smtp -MAIL_HOST=mailpit -MAIL_PORT=1025 +MAIL_HOST=smtp.mailtrap.io +MAIL_PORT=2525 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null -MAIL_FROM_ADDRESS="hello@example.com" +MAIL_FROM_ADDRESS=null MAIL_FROM_NAME="${APP_NAME}" AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= -AWS_USE_PATH_STYLE_ENDPOINT=false PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= -PUSHER_HOST= -PUSHER_PORT=443 -PUSHER_SCHEME=https PUSHER_APP_CLUSTER=mt1 -VITE_APP_NAME="${APP_NAME}" -VITE_PUSHER_APP_KEY="${PUSHER_APP_KEY}" -VITE_PUSHER_HOST="${PUSHER_HOST}" -VITE_PUSHER_PORT="${PUSHER_PORT}" -VITE_PUSHER_SCHEME="${PUSHER_SCHEME}" -VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" +MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" +MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" + +WEB_CLIENT_EMAIL=example@mail.com +WEB_CLIENT_NAME=web +WEB_CLIENT_PASS=pass +NGINX_PORT=8000 diff --git a/README.md b/README.md index 1a4c26b..068ad86 100644 --- a/README.md +++ b/README.md @@ -1,66 +1,50 @@ -
+# Guía de instalación +1. **Copiar el archivo de configuración:** - +Copia el archivo .env.example a un nuevo archivo llamado .env: -## About Laravel +```bash +cp .env.example .env +``` -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: +Abre el archivo .env y ajusta los valores según sea necesario, especialmente la configuración de la base de datos. -- [Simple, fast routing engine](https://laravel.com/docs/routing). -- [Powerful dependency injection container](https://laravel.com/docs/container). -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). -- [Robust background job processing](https://laravel.com/docs/queues). -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). +2. **Crear la imagen del proyecto** -Laravel is accessible, powerful, and provides tools required for large, robust applications. +Ejecuta el siguiente comando para construir la imagen del proyecto utilizando Docker Compose: -## Learning Laravel +```bash +docker-compose up -d --build +``` -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. +3. **Instalar dependencias de Composer** -You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. +Instala las dependencias definidas en composer.json utilizando Composer: -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. +```bash +docker-compose exec app composer install +``` -## Laravel Sponsors +4. **Generar la clave de la aplicación** -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com). +Genera la clave de la aplicación con el siguiente comando: -### Premium Partners +```bash +docker-compose exec app php artisan key:generate +``` -- **[Vehikl](https://vehikl.com/)** -- **[Tighten Co.](https://tighten.co)** -- **[WebReinvent](https://webreinvent.com/)** -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** -- **[64 Robots](https://64robots.com)** -- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** -- **[Cyber-Duck](https://cyber-duck.co.uk)** -- **[DevSquad](https://devsquad.com/hire-laravel-developers)** -- **[Jump24](https://jump24.co.uk)** -- **[Redberry](https://redberry.international/laravel/)** -- **[Active Logic](https://activelogic.com)** -- **[byte5](https://byte5.de)** -- **[OP.GG](https://op.gg)** +5. **Migrar y poblar la base de datos** -## Contributing +Ejecuta las migraciones y seeders para tener la base de datos actualizada: -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). +```bash +docker-compose exec app php artisan migrate --seed +``` -## Code of Conduct +6. **Instalar dependencias de npm** -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). +Instala las dependencias definidas en package.json utilizando npm: -## Security Vulnerabilities - -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. - -## License - -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +```bash +docker-compose exec app npm install +```