This project provides a questionnaire that determines the Linux distribution (or BSD system) which matches your preferences.
Simon Vieille a830722f4c First git commit 3 years ago
app First git commit 3 years ago
src First git commit 3 years ago
views First git commit 3 years ago
web First git commit 3 years ago
.gitignore First git commit 3 years ago
CONTRIBUTORS.md First git commit 3 years ago
LICENSE First git commit 3 years ago
Makefile First git commit 3 years ago
README.en.md First git commit 3 years ago
README.fr.md First git commit 3 years ago
TODO.md First git commit 3 years ago
composer.json First git commit 3 years ago

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