2017 © Pedro PelĂĄez
 

library carmsys

CMS (Car Management System) for Checo Pérez

image

montealegreluis/carmsys

CMS (Car Management System) for Checo Pérez

  • Monday, March 25, 2013
  • by MontealegreLuis
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Car Management Test

Installation

Install Composer

To install Composer run the folwing command in your Apache document root folder., (*1)

curl -s https://getcomposer.org/installer | php

Install the project

Create the project using the composer.phar file recently downloaded., (*2)

php composer.phar create-project --stability="dev" montealegreluis/carmsys dgztl

This command will install the project in a folder named dgztl. Enter Y when prompted to remove the VCS files., (*3)

Create the database and load initial data

In order to use the configuration in the project as is, you will have to run the following command in your MySQL server instance., (*4)

GRANT ALL PRIVILEGES on car_mgmt_sys.* TO checo_perez@localhost IDENTIFIED BY 'Ch3c0_p3r3z';

You can use your own user by modifying the file config/databases.yml providing valid credentials., (*5)

cd to your dgztl folder and run the following command to create the database, (*6)

./symfony doctrine:build-db

Run the following command to create the database schema, (*7)

./symfony doctrine:insert-sql

Run the following command to load the initial data, (*8)

./symfony doctrine:data-load

Configure a virtual host

Add this line to your hosts file (/etc/hosts), (*9)

127.0.0.1 checoperez.dev

Add this to your Apache's vhost.conf file (/etc/httpd/conf.d/vhosts.conf), (*10)

#
# checoperez.dev
#
<VirtualHost *:80>
    ServerName checoperez.dev
    DocumentRoot /path/to/documentroot/dgztl/web
    <Directory "/path/to/documentroot/dgztl/web">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Create a symlink to the application assets, (*11)

cd web/
ln -s ../lib/vendor/symfony/symfony1/data/web/sf/ sf

Restart Apache, (*12)

sudo service httpd restart

Run the application

Open a browser and go to, (*13)

http://checoperez.dev

The Versions

25/03 2013

dev-master

9999999-dev

CMS (Car Management System) for Checo Pérez

  Sources   Download

MIT

The Requires

 

by Luis Montealegre