My fucking website
git clone git@github.com:dethbird/dethbird.com.git workstation
cd workstation
curl -sS https://getcomposer.org/installer | php
php composer.phar install
cp .env.shadow .env
vim .env
php scripts/build.php --help
displays help:
--cache/--cache
Clear cache and reset permissions of cache directory
--configs/--configs
Publish configs from .env
--css/--css
Build .css files from .less
--help
Show the help page for this command.
--js/--javascript
Broswerify and minify the js
--js-page/--javascript-page <argument>
File in "src/frontend/js/pages/<page>.js" to build
--npm/--npm
Install node modules from package.json
--php/--php
PHP/Composer install
--ugly/--uglify
Uglify the compiled js (leave empty in dev)
All the options for the first time build.
php scripts/build.php --cache --configs --npm --js --php --ugly
chmod 755 dethbird.com
cd dethbird.com
chmod 755 public/
chmod 644 public/index.php public/.htaccess