Installation instructions:
# PHP & Composer
brew install php composer
# NVM and NodeJS
brew install nvm
nvm install node # latest
Use your regular package manager whenever possible. Otherwise, refer to PHP, Composer and NodeJS documentations.
Download and install:
# Install Composer dependencies, and initialize development environment
composer create-project
Run in two separate terminals:
# Start HTTP server
composer start
# Build client-side assets and watch for changes
composer watch
Open http://localhost:8000/.
composer test:php
composer test:js
Run in two separate terminals:
composer start
composer test:e2e
# Install Composer runtime dependencies only
composer install --no-dev
composer build # Optimize Composer autoloader, and generate public/{css,fonts,js} assets.
Serve public/
directory.
Continuous delivery is setup as follows:
composer test
) and all tests (composer test
)master
branch, deployment is done on the staging platform.tag
, deployment is done on the production platform.See .travis.yml for details.
Copyright © 2018 Alex Mercier and Oeco Architectes. All rights reserved.