This commit is contained in:
Simon Vieille 2016-10-02 20:31:08 +02:00
parent 12e6efc471
commit be31903aaa

View file

@ -53,30 +53,29 @@ Git can maybe be downloaded from your system's repositories.
Composer can maybe be downloaded from your system's repositories. Composer can maybe be downloaded from your system's repositories.
Else, follow the next instructions: Else, follow the next instructions:
# With cURL # With cURL
curl -sS https://getcomposer.org/installer | php $ curl -sS https://getcomposer.org/installer | php
# With Wget
wget -O - -q https://getcomposer.org/installer | php
Assuming `~/bin` exists in `$PATH`. # With Wget
$ wget -O - -q https://getcomposer.org/installer | php
chmod +x composer.phar $ chmod +x composer.phar
mv composer.phar ~/bin/composer
# For a local installation and if the envvar PATH contains "$HOME/bin/"
# Automatically did with `make` (@see Installation) $ mv composer.phar ~/bin/composer
composer install
composer update # For a global installation
$ sudo mv composer.phar /usr/local/bin/composer
### Bower ### Bower
npm install -g bower $ sudo apt-get install npm
$ sudo npm install -g bower
# Automatically did with `make` (@see Installation)
bower install
Installation Installation
------------ ------------
$ cd /path/to/www/
$ git clone https://gitnet.fr/deblan/gist $ git clone https://gitnet.fr/deblan/gist
$ cd gist $ cd gist
$ make $ make
@ -120,6 +119,10 @@ Then `$ make propel`.
Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['token']` with a strong secret phrase. Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['token']` with a strong secret phrase.
The web server must have permission to write into `data`.
$ sudo chown -R www-data:www-data data
Upgrade Upgrade
------- -------