Skip to content

Thibok/Frontend_Bilemo

Repository files navigation

Frontend Bilemo

Welcome on the Bilemo Frontend app ! This app is the Frontend part of the Bilemo Api

Prerequisites

  • PHP 7.3
  • Mysql
  • Apache

Framework

  • Symfony

ORM

  • Doctrine

Bundles

  • csa/guzzle-bundle
  • jms/serializer-bundle

Getting started

Create Facebook app

Before you install the project, go to the Facebook Developers site and sign in.Then go to your space here and create a new app.

Installation

Clone project :

git clone https://github.com/Thibok/Bilemo.git

Install dependencies :

For fb_client_id and fb_client_secret ask during the composer installation, you can find your app Id in your Facebook Developers Dashboard and for secret go to Settings, General and display your secret key

composer install

Create database :

php bin/console doctrine:database:create

Update schema :

php bin/console doctrine:schema:update --force

Run It !

Now you can start your server with this :

php bin/console server:start
And go on the local address !

Tests

If you need run tests :

Create test database :

php bin/console doctrine:database:create --env=test

Update schema :

php bin/console doctrine:schema:update --force --env=test

Run tests !

vendor/bin/phpunit

Production

If you want to use production environment, don't forget :

Clear cache :

php bin/console cache:clear --env="prod"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published