diff --git a/README.md b/README.md index f4203b4..63bc3af 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,40 @@ -# puertos +# Aplicación para gestionar el WiFi y punto de luz en puertos. +---------------------------------------------------------------------- -Aplicación para gestionar el WiFi y punto de luz en puertos. \ No newline at end of file +## Instalación + +###Obtener repositorio + +``` +git clone [repo] [folder] +cd [folder] +composer install +``` + +###Generar usuario administrador +``` +bin/console user:create +``` +###Configuración de entorno +``` +###> symfony/framework-bundle ### +APP_ENV=dev +APP_SECRET=78583d7b8bda3f2da4c78cda66b645f6 +###< symfony/framework-bundle ### + +###> symfony/mailer ### +MAILER_DSN=smtp://localhost +###< symfony/mailer ### + +###> doctrine/doctrine-bundle ### +# Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url +# IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml +# +# DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" +DATABASE_URL=mysql://xyz:Pichi23Pichi23-@127.0.0.1:3306/protocolo?serverVersion=5.6 +###< doctrine/doctrine-bundle ### + +###> nelmio/cors-bundle ### +CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$' +###< nelmio/cors-bundle ### +```