dethbird / lamenessreduction.party

Lameness Reduction Party website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dethbird.com

My fucking website

Deploy

clone from GIT

git clone git@github.com:dethbird/dethbird.com.git workstation
cd workstation

Initialize

Composer install base required libs for the build script to function:

curl -sS https://getcomposer.org/installer | php
php composer.phar install

Copy .env from .env.shadow and edit values

cp .env.shadow .env
vim .env

Build script

Help

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)

build

build production:

All the options for the first time build.

php scripts/build.php --cache --configs --npm --js --php --ugly

Permissions

chmod 755 dethbird.com
cd dethbird.com
chmod 755 public/
chmod 644 public/index.php public/.htaccess

About

Lameness Reduction Party website


Languages

Language:JavaScript 97.0%Language:PHP 2.3%Language:HTML 0.3%Language:CSS 0.3%Language:ApacheConf 0.0%