2017 © Pedro Peláez
 

library bootstrap

A Symfony2 project based on Zorbus

image

zorbus/bootstrap

A Symfony2 project based on Zorbus

  • Tuesday, November 20, 2012
  • by titomiguelcosta
  • Repository
  • 1 Watchers
  • 1 Stars
  • 5 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 25 % Grown

The README.md

Zorbus Bootstrap Edition

Setup

  • composer.phar create-project zorbus/bootstrap PROJECT_ROOT dev-master
  • mkdir app/cache app/logs web/uploads
  • setfacl -R -m u:whoami:rwx -m u:apache:rwx app/cache app/logs web/uploads
  • setfacl -dR -m u:whoami:rwx -m u:apache:rwx app/cache app/logs web/uploads

Configuration

  • edit app/config/config.yml for facebook parameters and other configuration
  • edit app/config/parameters.yml for database parameters

Database

  • create tables
    • php app/console doctrine:migrations:migrate
  • load fixtures for the admin user. Remove --fixtures parameter to load all.
    • php app/console doctrine:fixtures:load --fixtures=src/Zorbus/UserBundle

Web Server

  • Configure Apache VirtualHost
  • Or as an alternative, if using php 5.4 or higher
    • php app/console server:run

Administration

  • And then visit http://localhost:8000/admin/dashboard
    • Username: zorbus and Password: 1234567

The Versions