This project provides a questionnaire that determines the Linux distribution (or BSD system) which matches your preferences.
Go to file
Simon Vieille a830722f4c First git commit 2015-03-02 20:07:17 +01:00
app First git commit 2015-03-02 20:07:17 +01:00
src First git commit 2015-03-02 20:07:17 +01:00
views First git commit 2015-03-02 20:07:17 +01:00
web First git commit 2015-03-02 20:07:17 +01:00
.gitignore First git commit 2015-03-02 20:07:17 +01:00
CONTRIBUTORS.md First git commit 2015-03-02 20:07:17 +01:00
LICENSE First git commit 2015-03-02 20:07:17 +01:00
Makefile First git commit 2015-03-02 20:07:17 +01:00
README.en.md First git commit 2015-03-02 20:07:17 +01:00
README.fr.md First git commit 2015-03-02 20:07:17 +01:00
TODO.md First git commit 2015-03-02 20:07:17 +01:00
composer.json First git commit 2015-03-02 20:07:17 +01:00

README.en.md

Linux Questionnaire

This project provides a questionnaire that determines the Linux distribution (or BSD system) which matches your preferences.

Contact & Support

Project Management

Repository Browsers

IRC

  • Server: ssl.neutralnetwork.org
  • Channel: #wiki
  • Web client

Forum

Requirements

Installation

svn co https://svn.deblan.org/svn/linux-questionnaire
cd linux-questionnaire
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

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,
  • make cs will run PHP code sniffer with PSR-2 conventions.

Development Server

Use PHP's built-in development server, for example on localhost, port 8080:

cd web
php -S localhost:8080

Homepage Update

When the README.*.md files are updated, we also need to update the matching views in web/views/Questionnaire/readme.*.html.twig. To do that, a simple console script was created.

Help

app/console generate:readme -h

Basic Generation

app/console generate:readme