This project provides a questionnaire that determines
the Linux distribution (or BSD system) which matches
your preferences.
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
8 years ago | |
---|---|---|
app | 8 years ago | |
src | 8 years ago | |
views | 8 years ago | |
web | 8 years ago | |
.gitignore | 8 years ago | |
CONTRIBUTORS.md | 8 years ago | |
LICENSE | 8 years ago | |
Makefile | 8 years ago | |
README.en.md | 8 years ago | |
README.fr.md | 8 years ago | |
TODO.md | 8 years ago | |
composer.json | 8 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
- PHP >= 5.4
- Apache Subversion
- Composer
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 runmake 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