Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.33 KB

README.md

File metadata and controls

43 lines (31 loc) · 1.33 KB

awoolife

Site source behind awoo.life

JavaScript Style Guide

Dependencies

  • Node.JS (including npm)
  • PHP (minimum v5.6)

How to use

First you need to install NodeJS. This depends on your OS type. Check out this install guide

Next you need to install the dependencies with npm install

Now you just need to compile the assets by simply running gulp

And you're done! Point the webserver root to the public directory.

This is an example nginx config:

   server {
           listen 80;
           root /path/to/repo/public;
           index index.php;
           location / {
                   try_files $uri $uri/ /index.php?$query_string;
           }
           location ~*  \.(jpg|jpeg|png|gif|ico|css|js)$ {
                   expires 365d;
           }
   }

Notes

This Project includes: