Skip to content

sKiLdUsT/awoolife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: