Skip to content
This repository was archived by the owner on Sep 17, 2018. It is now read-only.

Installation

Nicolas Gomes De Oliveira edited this page Jan 26, 2017 · 15 revisions

#Installation

In order to properly install the application, you need to enter the following commands in the console :

  1. git clone git@github.com:ngdo-pro/food_and_you.git
  2. composer install
  3. npm install
    • If npm doesn't work, you need to : sudo apt install npm (for mac OS X, follow this link)
      • If npm doesn't work with node, you need to : sudo apt install nodejs-legacy
  4. bower install
    • If bower doesn't work, you need to : sudo npm install -g bower
  5. gulp
    • If gulp doesn't work, you need to : sudo npm install gulp -g
  6. app/console doctrine:database:create - you create your database, name doesn't matter
  7. app/console doctrine:migrations:migrate - Carefull! do not use doctrine:schema:update ! This command is here to upload your local database without loosing older versions
  8. app/console doctrine:fixture:load - we created fixtures to start the project, with this command you can load them in your database
  9. change absolute paths in /src/Sogenactif/Api/params/pathfile to fit your files
  10. chmod 755 src/SogenactifBundle/Api/bin/*

Clone this wiki locally