MonVoisinFaitDuBio
Be pleased to add some more informations if you solve installation issues !
Requirements
- Php
- Composer
- Nodejs
- Git
- Serveur Php (Wamp server for example)
- Any Text Editor (SublimeText for example)
Installation helper (in french) :
Installation
Cloning repo
cd path-to-wamp-www (default windows c:/wamp/www)
git clone https://github.com/Biopenlandes/PagesVertes.git
cd PagesVertes/
Installing dependencies
Php dependency (symfony, bundles...)
php path-to/composer.phar install or composer install
During installation, config/parameters file will be created, provide database infos or leave default fields
Workflow dependencies (compiling sass and javascript)
npm install -g gulp
npm install
Start
Dumping assets
php bin/console assets:install --symlink web
Build Javascript and Css
gulp watch
Start watching for file change
gulp watch
Lauch wamp server
Generate Database
Go to symfony console : http://localhost/PagesVertes/web/app_dev.php/_console
doctrine:schema:update --force
doctrine:fixtures:load
Then generate if necessary random point on the map : http://localhost/cartoV3/PagesVertes/web/app_dev.php/fournisseur/generate/500
Everthing is ready, enjoy : http://localhost/PagesVertes/web/app_dev.php
Production
- gulp production
- move files to FTP