Sistema de Gestión Documental
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.1 KiB

5 years ago
5 years ago
5 years ago
  1. # Sistema de Gestión Documental.
  2. ----------------------------------------------------------------------
  3. ## Instalación
  4. ###Obtener repositorio
  5. ```
  6. git clone [repo] [folder]
  7. cd [folder]
  8. composer install
  9. ```
  10. ###Generar usuario administrador
  11. ```
  12. bin/console user:create
  13. ```
  14. ###Configuración de entorno
  15. ```
  16. ###> symfony/framework-bundle ###
  17. APP_ENV=dev
  18. APP_SECRET=78583d7b8bda3f2da4c78cda66b645f6
  19. ###< symfony/framework-bundle ###
  20. ###> symfony/mailer ###
  21. MAILER_DSN=smtp://localhost
  22. ###< symfony/mailer ###
  23. ###> doctrine/doctrine-bundle ###
  24. # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
  25. # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml
  26. #
  27. # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
  28. DATABASE_URL=mysql://xyz:Pichi23Pichi23-@127.0.0.1:3306/protocolo?serverVersion=5.6
  29. ###< doctrine/doctrine-bundle ###
  30. ###> nelmio/cors-bundle ###
  31. CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
  32. ###< nelmio/cors-bundle ###
  33. ```