forked from Cocolabs-SAS/cocorico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
34 changed files
with
188 additions
and
1,245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Deployment | ||
|
||
Deployment use https://github.com/hpatoio/DeployBundle | ||
|
||
1. Configuration | ||
|
||
* Parameters: | ||
Set in your parameters.yml the following parameters: | ||
|
||
deploy_host: cocorico.prod | ||
deploy_dir: /var/www/cocorico.prod/Symfony | ||
deploy_user: cocorico | ||
|
||
* php.ini: | ||
Add this to your php.ini: | ||
|
||
extension=mongodb.so | ||
|
||
2. Deploy | ||
|
||
* Dry-Run: | ||
|
||
php app/console project:deploy prod | ||
|
||
* Real: | ||
|
||
php app/console project:deploy --go prod | ||
|
||
For more informations see https://github.com/hpatoio/DeployBundle | ||
|
||
3. Post deployment tasks | ||
|
||
* Install/Update Vendors: | ||
|
||
export SYMFONY_ENV=prod && php composer.phar install --no-dev --prefer-dist --optimize-autoloader | ||
php composer.phar dump-autoload --optimize | ||
|
||
* Clear Symfony Cache: | ||
|
||
php app/console cache:clear --env=prod --no-debug | ||
|
||
* Dump Assetic Assets: | ||
|
||
php app/console assetic:dump --env=prod --no-debug | ||
|
||
4. Add crons | ||
|
||
See [crons documentation](crons.md) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Cocorico Documentation | ||
|
||
|
||
## Table of Contents | ||
|
||
- [PHPdoc](http://docs.cocorico.io/phpdoc/index.html) | ||
- [Crons](crons.md) | ||
- [Mails](mails.md) | ||
- [Translations](translations.md) | ||
- [MongoDB](mongodb.md) | ||
- [Routing](routing.md) | ||
- [Parameters](parameters.md) | ||
- [Prices](prices.md) | ||
- [Times](times.md) | ||
- [Twig](twig.md) | ||
- [Breadcrumbs](breadcrumbs.md) | ||
- [Virtual Host](virtual-hosts.md) | ||
- [Tests](tests.md) | ||
- [Deployment](deployment.md) | ||
- [Troubleshooting](troubleshooting.md) | ||
- [WkHtml2PDF](wkhtml2pdf.md) | ||
|
Oops, something went wrong.