This repository was archived by the owner on Sep 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
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 :
- git clone git@github.com:ngdo-pro/food_and_you.git
- composer install
- 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
- If npm doesn't work with node, you need to :
- If npm doesn't work, you need to :
- bower install
- If bower doesn't work, you need to :
sudo npm install -g bower
- If bower doesn't work, you need to :
- gulp
- If gulp doesn't work, you need to :
sudo npm install gulp -g
- If gulp doesn't work, you need to :
- app/console doctrine:database:create - you create your database, name doesn't matter
- 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
- app/console doctrine:fixture:load - we created fixtures to start the project, with this command you can load them in your database
- change absolute paths in /src/Sogenactif/Api/params/pathfile to fit your files
chmod 755 src/SogenactifBundle/Api/bin/*
Made by the Wild Code School Lyon students