sample-symfony-sencha

Created: 2011-07-13 09:56
Updated: 2013-10-09 05:36

README.md

Ejemplo de symfony 1.4, Ext.Direct y Sencha ExtJS MVC 4.0.7

Instalación:

Comprobación de requisitos:

mkdir /var/www/sample
clone ...
cd /var/www/sample
php lib/vendor/symfony/data/bin/check_configuration.php
chmod 777 cache/ log/

Configuración del Servidor Apache:

# Be sure to only have this line once in your configuration
NameVirtualHost 127.0.0.1:8080

# This is the configuration for your project
Listen 127.0.0.1:8080

<VirtualHost 127.0.0.1:8080>
  ServerName sample.local
  DocumentRoot "/var/www/sample/web"
  DirectoryIndex index.php
  <Directory "/var/www/sample/web">
    AllowOverride All
    Allow from All
  </Directory>

  Alias /sf /var/www/sample/lib/vendor/symfony/data/web/sf
  <Directory "/var/www/sample/lib/vendor/symfony/data/web/sf">
    AllowOverride All
    Allow from All
  </Directory>
</VirtualHost>

Configuración Hosts:

127.0.0.1 sample.local

Creación base de datos:

mysql -h localhost -u root -pyoupass
mysql> create database sample;
mysql> exit;

Importación de datos de ejemplo:

mysql -u root sample < data/user.sql

Configuración symfony:

php symfony configure:database "mysql:host=localhost;dbname=sample" root password

Módulo:

http://sample.local/index.php/user

Plugins:

http://www.symfony-project.org/plugins/dsExtDirectPlugin
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more