tempo/tempo

This package is abandoned and no longer maintained. No replacement package was suggested.

Modern Social hub Software

This package is not auto-updated.

Last update: 2020-01-24 15:45:57 UTC


README

Tempo is Social Hub Software, based on the Symfony2 framework.

Installation

$ wget http://getcomposer.org/composer.phar
$ php composer.phar create-project tempo-project/tempo -s dev
$ cd tempo
$ composer install

Then configure your project and create database.

$ cd tempo

# Only if the composer install didn't ask you:
$ cp app/config/parameters.yml.dist app/config/parameters.yml
$ vi app/config/parameters.yml # And put your values!

# To create the database:
$ php app/console doctrine:database:create
$ php app/console doctrine:schema:create

# If you want to load sample data, use the following command
$ php app/console doctrine:fixtures:load

$ php app/console tempo:js-configuration:dump

# Instant messaging ( NodeJs and Npm required)
$ npm install
$ bower install
$ gulp
$ node bin/server.js

You probably need to setting up rights for apache, uses the following commands:

$ mkdir -p app/data app/cache app/logs app/data web/uploads web/media
$ setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/data app/cache app/logs app/data web/uploads web/media
$ setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/data app/cache app/logs app/data web/uploads web/media

Behat scenarios

You need to copy Behat default configuration file and enter your specific base_url option there.

$ cp behat.yml.dist behat.yml
$ vi behat.yml

Then download Selenium Server, and run it.

$ java -jar selenium-server-standalone-2.11.0.jar

You can run Behat using the following command.

$ bin/behat

Troubleshooting

If something goes wrong, errors & exceptions are logged at the application level.

tail -f app/logs/prod.log
tail -f app/logs/dev.log

Docker

You can build a docker image for this project with the following command:

docker build -t tempo .

Then run the container:

docker run -p 80:80 -p 8000:8000 tempo

or with your current working copy:

docker run -p 80:80 -p 8000:8000 -v $(pwd):/var/www/tempo tempo

Tempo should now be available at http://localhost/