The new web client for Ophmisu trivia game.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
puphpet
src
var/scripts
web
.bowerrc
.gitattributes
.gitignore
.travis.yml
README.md
Vagrantfile
bower.json
composer.json
composer.lock

README.md

ophmisu-client-web

1. Description

The new web client for Ophmisu trivia game, part of the Ophmisu project. The idea is to migrate to old web client to Symfony2, mix it with AngularJS and improve the Socket.IO communication.

Finally, all the web and mobile clients should be able to interact with multiple server nodes.

2. Installation

Clone the project :

git clone git@github.com:wsergio/ophmisu-client-web.git ophmisu-client-web
cd ophmisu-client-web

2.1 Setup with vagrant


You'll need to install Vagrant and VirtualBox. After that, you're ready to go:

vagrant plugin install vagrant-ghost
vagrant up

Note: if you're riding Windows, open your console as administrator.

2.2 Setup, traditional way


Install dependencies :

composer install
bower install

Update database credentials :

cp app/config/parameters.example.yml app/config/parameters.yml
vim app/config/parameters.yml

Create/Update schemas :

php app/console doctrine:schema:create # if you're installing it
php app/console doctrine:schema:update # if you're updating it

Create and activate user :

php app/console fos:user:create
php app/console fos:user:activate

Or, shorthand syntax to create a super admin:

php app/console fos:user:create admin admin@ophmisu.com <your-password> --super-admin

Generate JS routes :

php app/console fos:js-routing:dump

Install assets :

php app/console assets:install web --symlink --relative