Skip to content

gnutix/swbooks

Repository files navigation

Build Status Scrutinizer Code Quality SymfonyInsight

Star Wars Library

This single web page application allows me to list my Star Wars books (with some books information), featuring the number of readings I've done and copies I own for each books releases.

This application makes heavy usage of Symfony2's components to create a POO model representing a book's library (loaded from an XML or YAML source file).

Project setup

  • composer install
  • php -S localhost:8000 -t public/

Access the application at http://localhost:8000/.

Useful commands

  • composer list | grep 'script as defined' to list all custom scripts, then execute with composer [script-name]

DEPRECATED: Bower

The project used Bower back in the day with the following bower.json :

{
  "name": "swbooks",
  "private": true,
  "dependencies": {
    "jquery": "latest",
    "bootstrap": "~3.0.1",
    "paul-irish-jquery-unique-duck-punching": "*",
    "brandon-aaron-jquery-outerhtml-function": "*",
    "edward-hotchkiss-wrapper": "~0.0.3"
  }
}

With .bowerrc :

{
  "directory" : "public/components"
}

It should be migrated to more recent systems at some point.