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

View file

@ -54,29 +54,28 @@ 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 # With Wget
wget -O - -q https://getcomposer.org/installer | php $ wget -O - -q https://getcomposer.org/installer | php
Assuming `~/bin` exists in `$PATH`. $ chmod +x composer.phar
chmod +x composer.phar # For a local installation and if the envvar PATH contains "$HOME/bin/"
mv composer.phar ~/bin/composer $ mv composer.phar ~/bin/composer
# Automatically did with `make` (@see Installation) # For a global installation
composer install $ sudo mv composer.phar /usr/local/bin/composer
composer update
### 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
------- -------