Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/henrystivens/dependent-select
Select dependiente o select aninado con KumbiaPHP y Jquery
https://github.com/henrystivens/dependent-select
ajax docker jquery kumbiaphp mvc php
Last synced: 7 days ago
JSON representation
Select dependiente o select aninado con KumbiaPHP y Jquery
- Host: GitHub
- URL: https://github.com/henrystivens/dependent-select
- Owner: henrystivens
- License: other
- Created: 2017-11-06T15:22:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-17T03:16:04.000Z (about 7 years ago)
- Last Synced: 2024-12-03T17:34:12.914Z (2 months ago)
- Topics: ajax, docker, jquery, kumbiaphp, mvc, php
- Language: PHP
- Size: 239 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Select anidado o Select dependientes
======Código del ejemplo de Select anidados o Select dependientes con KumbiaPHP 1.0RC, del manual: [Select anidado o select dependientes](https://www.kumbiaphp.com/blog/2017/11/17/select-anidado-o-select-dependientes/)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/henrystivens/dependent-select/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/henrystivens/dependent-select/?branch=master)
## Correr en Docker
Como prerequisito debe tener instalado Docker en el sistema operatvo: [Obtener Docker](https://www.docker.com/products/overview)
### 1. Correr mysql con datos externos y publicado
``
docker run --detach --name=mysql-dev --env="MYSQL_ROOT_PASSWORD=root" --volume /home/usuario/mysql/data:/var/lib/mysql --publish 6603:3306 mysql:5.7
``Cambia el valor del parámetro --volume por el directorio que desees
### 2. Importar base de datos
Importar el archivo *default/app/config/sql/dependent-selects.sql*
### 3. Correr Apache + PHP 7
En la carpeta raíz de este proyecto correr:
``
docker-compose up -d --build
``o simplemente...
``
docker-compose up -d
``Mirar la web en **http://localhost:8183**
La opción ``--build``, es sólo para la primera vez o cuando se cambian los ficheros del docker.
``docker-compose up`` (muestra el log en la terminal)
``docker-compose up -d `` (como demonio, sin datos en la terminal)