GIST is an open-source application to share code. https://gist.deblan.org
Go to file
Simon Vieille 6b31a2b2db Propel + console 2015-05-06 14:11:00 +02:00
app Propel + console 2015-05-06 14:11:00 +02:00
src/Gist Propel + console 2015-05-06 14:11:00 +02:00
web form 2015-05-05 23:24:37 +02:00
.bowerrc First template 2015-05-04 22:12:26 +02:00
.gitignore First template 2015-05-04 22:12:26 +02:00
LICENSE Init commit 2015-05-04 20:52:00 +02:00
Makefile Installation 2015-05-06 10:58:55 +02:00
README.md Readme 2015-05-06 11:10:26 +02:00
bower.json flags 2015-05-06 00:36:59 +02:00
composer.json Propel + console 2015-05-06 14:11:00 +02:00
propel.yaml Propel + console 2015-05-06 14:11:00 +02:00

README.md

GIST

GIST is an open-source application to share code.

Requirements

  • PHP >= 5.4
  • GIT
  • Composer (php)
  • Bower (node)

Installation

$ git clone https://gitlab.deblan.org/deblan/gist
$ cd gist
$ make

Composer

Composer can maybe be downloaded from your system's repositories. Else, follow the next instructions:

Download

# With cURL
curl -sS https://getcomposer.org/installer | php

# With Wget
wget -O - -q https://getcomposer.org/installer | php

You can now use it with php composer.phar [arguments].

Executable

mv composer.phar composer
chmod +x composer

Use it with ./composer [arguments].

Install

Assuming ~/bin exists ans is in $PATH.

mv composer ~/bin

Dependencies Installation (from composer.lock)

composer install

Dependencies Update (will change composer.lock)

composer update

Bower

Install

npm install -g bower

Dependencies Installation (from bower.json)

bower install

Dependencies Update (will change bower.json)

bower update

Makefile

A Makefile is provided to automate some tasks.

  • make will install application's dependencies via Composer,
  • make prod will install dependencies without developmenent requirements and run make optimize,
  • make optimize will run Composer's autoloader dump script with classmap only, without dynamic autoload rules,