Sources du site https://defis48.deblan.org/
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Simon Vieille 2bb1fa8b4b README 7 years ago
.mage Sync 7 years ago
app Template 7 years ago
bin Init 7 years ago
src Defi principal 7 years ago
tests/AppBundle/Controller Init 7 years ago
var Template 7 years ago
web Init 7 years ago
.gitignore Sync 7 years ago
LICENSE Init 7 years ago
README.md README 7 years ago
composer.json Sync 7 years ago

README.md

Défis 48h

Installation

L'installation est standard à celle d'une application symfony classique. Elle implique cependant la génération de la base de données qui se réalise en 2 étapes :

  • la configuration des accès dans app/config/parameters.yml
  • la génération des tables
$ git clone https://gitlab.deblan.org/deblan/defis48.git
$ composer install
$ vim app/config/parameters.yml
$ bin/console doctrine:schema:create
$ bin/console doctrine:generate:entities MmiEnigmaBundle
$ bin/console doctrine:schema:update --force
$ bin/console assets:install --symlink --relative

Mise à jour

$ git pull origin master
$ composer update
$ bin/console doctrine:generate:entities MmiEnigmaBundle
$ bin/console doctrine:schema:update --force

Exécution

Serveur de développement :

$ bin/console server:run &

Déploiement

Utilisation de mage (/.mage)

$ vendor/bin/mage deploy to:production