forked from deblan/gist
README: upgrade
This commit is contained in:
parent
0e02add6e6
commit
eb1f4f1df3
16
README.md
16
README.md
|
@ -81,7 +81,7 @@ Installation
|
||||||
$ cd gist
|
$ cd gist
|
||||||
$ make
|
$ make
|
||||||
$ mv propel-dist.yaml propel.yaml
|
$ mv propel-dist.yaml propel.yaml
|
||||||
|
|
||||||
Edit `propel.yaml`. **Use spaces instead of tabulations**.
|
Edit `propel.yaml`. **Use spaces instead of tabulations**.
|
||||||
|
|
||||||
**MySQL**
|
**MySQL**
|
||||||
|
@ -99,7 +99,7 @@ Edit `propel.yaml`. **Use spaces instead of tabulations**.
|
||||||
charset: utf8
|
charset: utf8
|
||||||
queries:
|
queries:
|
||||||
utf8: "SET NAMES utf8 COLLATE utf8_unicode_ci, COLLATION_CONNECTION = utf8_unicode_ci, COLLATION_DATABASE = utf8_unicode_ci, COLLATION_SERVER = utf8_unicode_ci"
|
utf8: "SET NAMES utf8 COLLATE utf8_unicode_ci, COLLATION_CONNECTION = utf8_unicode_ci, COLLATION_DATABASE = utf8_unicode_ci, COLLATION_SERVER = utf8_unicode_ci"
|
||||||
|
|
||||||
[...]
|
[...]
|
||||||
|
|
||||||
**SQLITE**
|
**SQLITE**
|
||||||
|
@ -113,9 +113,9 @@ Edit `propel.yaml`. **Use spaces instead of tabulations**.
|
||||||
dsn: "sqlite:/PATH/TO/gist.sqlite"
|
dsn: "sqlite:/PATH/TO/gist.sqlite"
|
||||||
user: ~
|
user: ~
|
||||||
password: ~
|
password: ~
|
||||||
|
|
||||||
[...]
|
[...]
|
||||||
|
|
||||||
Then `$ make propel`.
|
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.
|
||||||
|
@ -131,10 +131,12 @@ Your webserver must be configured to serve `web/` as document root. If you use n
|
||||||
|
|
||||||
Upgrade
|
Upgrade
|
||||||
-------
|
-------
|
||||||
|
|
||||||
$ make update
|
$ make update
|
||||||
$ make propel
|
$ make propel
|
||||||
|
|
||||||
|
If you upgrade to v1.4.1, run: `app/console migrate:to:v1.4.1`
|
||||||
|
|
||||||
Makefile
|
Makefile
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
@ -268,7 +270,7 @@ Edit `app/bootstrap.php.d/70-security.php` and modify the value of `$app['login_
|
||||||
Deployment
|
Deployment
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Gist uses [Magallanes](http://magephp.com/) to manage deployment.
|
Gist uses [Magallanes](http://magephp.com/) to manage deployment.
|
||||||
|
|
||||||
**Global installation**
|
**Global installation**
|
||||||
|
|
||||||
|
@ -277,7 +279,7 @@ Gist uses [Magallanes](http://magephp.com/) to manage deployment.
|
||||||
$ ln -s ~/.composer/vendor/bin/mage ~/bin/mage
|
$ ln -s ~/.composer/vendor/bin/mage ~/bin/mage
|
||||||
|
|
||||||
**Local installation**
|
**Local installation**
|
||||||
|
|
||||||
$ composer require andres-montanez/magallanes
|
$ composer require andres-montanez/magallanes
|
||||||
|
|
||||||
There is an example of the configuration of an environment in `.mage/config/environment/prod.yml-dist`.
|
There is an example of the configuration of an environment in `.mage/config/environment/prod.yml-dist`.
|
||||||
|
|
Loading…
Reference in a new issue