Skip to content

Ranyuen/web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

103ec70 · Feb 2, 2022
Dec 31, 2021
Nov 12, 2021
Nov 28, 2021
Jun 13, 2018
Feb 2, 2022
Jun 13, 2018
Mar 28, 2015
Jun 1, 2019
Oct 1, 2016
Nov 30, 2021
Sep 14, 2014
Mar 19, 2015
Nov 12, 2021
Mar 22, 2019
Mar 29, 2015
Jul 4, 2015
Nov 12, 2021
Nov 12, 2021
Sep 10, 2016
Mar 29, 2015
Nov 28, 2021
Nov 28, 2021
Nov 12, 2021
Jun 1, 2019
Mar 29, 2015
Nov 12, 2021
Nov 12, 2021
Nov 12, 2021
Mar 29, 2015
Mar 29, 2015
Nov 12, 2021
Nov 12, 2021

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