mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
restructuration of titles order + various informations
This commit is contained in:
parent
46f62fe3ec
commit
43f7ba0e16
@ -1,27 +1,44 @@
|
|||||||
|
Installation
|
||||||
|
############
|
||||||
|
|
||||||
|
Basic installation
|
||||||
|
``````````````````
|
||||||
|
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
============
|
------------
|
||||||
|
|
||||||
* a postgresql database. The minimum version is postgresql 9.1, but we are working on developing on the 9.4 branch, which will provide features which will ease developper work
|
Server requirements
|
||||||
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
* a postgresql database. The minimum version is postgresql 9.3, but we are working on developing on the 9.4 branch, which will provide features which will ease developper work
|
||||||
* php 5.5
|
* php 5.5
|
||||||
|
* If you run Chill in production mode, you should also install a web server (apache, ngnix, ...). We may use php built-in server for testing and development.
|
||||||
|
|
||||||
|
Within this documentation, we are going to describe installation on Unix systems (Unix, Mac OS). Windows installation ha not been tested yet.
|
||||||
|
|
||||||
You won't need any web server for demonstration or development.
|
You won't need any web server for demonstration or development.
|
||||||
|
|
||||||
|
Client requirements
|
||||||
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
Chill is accessible through a web browser. Currently, we focus our support on `Firefox`_, because firefox is open source, cross-platform, and very well active. The software should work with other browser (Chromium, Opera, ...) but some functionalities should break.
|
||||||
|
|
||||||
Preparation
|
Preparation
|
||||||
===========
|
-----------
|
||||||
|
|
||||||
Prepare :
|
You will need those informations :
|
||||||
|
|
||||||
* your credentials to use your postgresql database
|
* The informations to access to your database: host, port, database name, and your credentials (username and password) ;
|
||||||
* a random string, which will be use to improve entropy in security. Choose anything you want (random character, your father's birthplace, ...)
|
* a random string, which will be use to improve entropy in security. Choose anything you want (random character, your father's birthplace, ...).
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
=============
|
------------
|
||||||
|
|
||||||
Chill is installed with composer.
|
Chill is installed with `composer`_.
|
||||||
|
|
||||||
Install composer
|
Install composer
|
||||||
----------------
|
^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
If you do not know composer, it is a good idea to have a glance at `the composer documentation`_
|
If you do not know composer, it is a good idea to have a glance at `the composer documentation`_
|
||||||
@ -32,8 +49,11 @@ Install composer on your system :
|
|||||||
|
|
||||||
curl -sS https://getcomposer.org/installer | php
|
curl -sS https://getcomposer.org/installer | php
|
||||||
|
|
||||||
move composer.phar to your system (optional)
|
move composer.phar to your system
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
"""""""""""""""""""""""""""""""""
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
This part is not necessary, but this will be more convenient for the process. If you do not want to install composer on your system, you will have to replace the commands `composer` by `php composer.phar`.
|
||||||
|
|
||||||
Install composer globally on you system will made the installation process more convenient. To do this, simply run
|
Install composer globally on you system will made the installation process more convenient. To do this, simply run
|
||||||
|
|
||||||
@ -43,11 +63,13 @@ Install composer globally on you system will made the installation process more
|
|||||||
|
|
||||||
Then, just run `composer` instead of `php composer.phar`
|
Then, just run `composer` instead of `php composer.phar`
|
||||||
|
|
||||||
|
You can test the installation by running `which composer` or `composer`: those command should not raise any error.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
See `the composer introduction`_ to learn how to install composer on Mac OS X and Windows
|
See `the composer introduction`_ to learn how to install composer on Mac OS X and Windows
|
||||||
|
|
||||||
Create your project
|
Create your project
|
||||||
-------------------
|
^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
Create your Chill project using composer:
|
Create your Chill project using composer:
|
||||||
|
|
||||||
@ -61,18 +83,18 @@ Create your Chill project using composer:
|
|||||||
|
|
||||||
Composer will download `the standard architecture`_ and ask you a few question about how to configure your project.
|
Composer will download `the standard architecture`_ and ask you a few question about how to configure your project.
|
||||||
|
|
||||||
* **database_host** : your postgresql server's address
|
* `database_host` : your postgresql server's address
|
||||||
* **database_port** : the port to reach your postgresql server
|
* `database_port` : the port to reach your postgresql server
|
||||||
* **database_name** : the name of your database
|
* `database_name` : the name of your database
|
||||||
* **database_user** : the username to reach your database
|
* `database_user` : the username to reach your database
|
||||||
* **database_password** : your username's password
|
* `database_password` : your username's password
|
||||||
* **locale**: the language, as iso code. Until now, only fr is supported
|
* `locale`: the language, as iso code. Until now, only fr is supported
|
||||||
* **secret**: the secret string you prepared (see "preparation")
|
* `secret`: the secret string you prepared (see "preparation")
|
||||||
|
|
||||||
You may accept the default parameters of **debug_toolbar**, **debug_redirects** and **use_assetic_controller** for a demonstration installation. For production, set them all to `false`.
|
You may accept the default parameters of `debug_toolbar`, `debug_redirects` and `use_assetic_controller` for a demonstration installation. For production, set them all to `false`.
|
||||||
|
|
||||||
Launch your server
|
Launch your server
|
||||||
-------------------
|
^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
If everything was fine, you are able to launch your built-in server :
|
If everything was fine, you are able to launch your built-in server :
|
||||||
|
|
||||||
@ -81,8 +103,10 @@ If everything was fine, you are able to launch your built-in server :
|
|||||||
cd path/to/your/directory
|
cd path/to/your/directory
|
||||||
php app/console server:run
|
php app/console server:run
|
||||||
|
|
||||||
Your server should now be available at `http://localhost:8000`
|
Your server should now be available at `http://localhost:8000`. Type this address on your browser and you should see the homepage.
|
||||||
|
|
||||||
.. _the composer documentation: https://getcomposer.org/doc/
|
.. _the composer documentation: https://getcomposer.org/doc/
|
||||||
.. _the composer introduction: https://getcomposer.org/doc/00-intro.md
|
.. _the composer introduction: https://getcomposer.org/doc/00-intro.md
|
||||||
.. _the standard architecture: https://github.com/Champs-Libres/chill-standard
|
.. _the standard architecture: https://github.com/Champs-Libres/chill-standard
|
||||||
|
.. _composer: https://getcomposer.org
|
||||||
|
.. _Firefox: https://www.mozilla.org
|
||||||
|
Loading…
x
Reference in New Issue
Block a user