Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ssdfi/forest
ForestApp en PHP
https://github.com/ssdfi/forest
ajax doctrine javascript php symfony
Last synced: 25 days ago
JSON representation
ForestApp en PHP
- Host: GitHub
- URL: https://github.com/ssdfi/forest
- Owner: ssdfi
- Created: 2016-08-09T22:20:23.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-02-01T20:31:48.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T16:34:28.140Z (3 months ago)
- Topics: ajax, doctrine, javascript, php, symfony
- Language: PHP
- Size: 16 MB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
forestapp
=====
#Instalar Symfony 3.0
sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony#Le doy permisos
sudo chmod a+x /usr/local/bin/symfony#Creo proyecto
sudo symfony new forestapphp 3.0#Levantar server
php bin/console server:run#Instalo Composer
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer#Agrego Bundle de doctrine geo
composer require CrEOF/doctrine2-spatial#Esto es para que me haga los esquemas que ya están en la bd (sin algunas relaciones, hay que retocarla)
php bin/console doctrine:mapping:convert xml ./src/AppBundle/Resources/config/doctrine/metadata/orm --from-database -force
#DOCTRINE
#Crear base de datos
php bin/console doctrine:database:create#Crear esquema
php bin/console doctrine:schema:create#Crear Formulario
php bin/console doctrine:generate:form#Importar metadatos(relaciones, definición de columnas, etc) en YML (podríamos haber elegido anotaciones o xml ):
php app/console doctrine:mapping:import AppBundle yml#Generar Entidades en PHP
php app/console doctrine:generate:entities AppBundle#Limpiar Caché
php app/console doctrine:cache:clear-metadata
php app/console doctrine:cache:clear-query
php app/console doctrine:cache:clear-result