Skip to content

Ranyuen/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranyuen web site

This is Ranyuen web site application.

Install on a production machine

  1. Clone this repository. git clone https://github.com/Ranyuen/web.git
  2. Install PHP dependencies. ./composer.phar install --no-dev
  3. Migrate DB. SERVER_ENV=production vendor/bin/phpmig migrate
  4. Attache Apache DocumentRoot to the repo's root directory.

That's all.

Install for development

  1. Install PHP, node.js, Ruby and Git on your Linux.

    sudo apt-get install php5 nodejs git
  2. Clone this repository.

  3. Install dependencies.

    bin/deps install
    ./composer.phar install
  4. Start the server. sudo php -S 0.0.0.0:80 index.php

Contribute

You MUST understand what we do, and what you do.

Build files.

gulp build

Lint and run tests.

gulp test

Deploy.

gulp deploy

Staging.

gulp staging