bigbite / peggy Goto Github PK
View Code? Open in Web Editor NEWIssues for Peggy
Issues for Peggy
A successful deployment log should look like this:
>>> Starting Deploy�
�>>> Cloning Repo�
Cloning into '/var/www/9a-cachet-live-1444685947/releases/1444689396'...
�>>> Running deploy.json�
�>>> Running Command: composer install --no-dev -o �
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version.
Loading composer repositories with package information
Installing dependencies from lock file
- Installing vlucas/phpdotenv (v1.1.1)
Loading from cache
- Installing symfony/var-dumper (v2.7.3)
Loading from cache
- Installing symfony/translation (v2.7.3)
Loading from cache
- Installing symfony/routing (v2.7.3)
Loading from cache
- Installing symfony/process (v2.7.3)
Loading from cache
- Installing symfony/http-foundation (v2.7.3)
Loading from cache
- Installing symfony/event-dispatcher (v2.7.3)
Loading from cache
- Installing psr/log (1.0.0)
Loading from cache
- Installing symfony/debug (v2.7.3)
Loading from cache
- Installing symfony/http-kernel (v2.7.3)
Loading from cache
- Installing symfony/finder (v2.7.3)
Loading from cache
- Installing symfony/dom-crawler (v2.7.3)
Loading from cache
- Installing symfony/css-selector (v2.7.3)
Loading from cache
- Installing symfony/console (v2.7.3)
Loading from cache
- Installing swiftmailer/swiftmailer (v5.4.1)
Loading from cache
- Installing nikic/php-parser (v1.4.0)
Loading from cache
- Installing jakub-onderka/php-console-color (0.1)
Loading from cache
- Installing jakub-onderka/php-console-highlighter (v0.3.2)
Loading from cache
- Installing dnoegel/php-xdg-base-dir (0.1)
Loading from cache
- Installing psy/psysh (v0.5.2)
Loading from cache
- Installing nesbot/carbon (1.20.0)
Loading from cache
- Installing mtdowling/cron-expression (v1.0.4)
Loading from cache
- Installing monolog/monolog (1.17.1)
Loading from cache
- Installing league/flysystem (1.0.11)
Loading from cache
- Installing jeremeamia/superclosure (2.1.0)
Loading from cache
- Installing doctrine/inflector (v1.0.1)
Loading from cache
- Installing danielstjules/stringy (1.10.0)
Loading from cache
- Installing classpreloader/classpreloader (2.0.0)
Loading from cache
- Installing laravel/framework (v5.1.16)
Loading from cache
- Installing psr/http-message (1.0)
Loading from cache
- Installing guzzlehttp/psr7 (1.2.0)
Loading from cache
- Installing guzzlehttp/promises (1.0.2)
Loading from cache
- Installing guzzlehttp/guzzle (6.0.2)
Loading from cache
- Installing league/commonmark (0.10.0)
Loading from cache
- Installing graham-campbell/markdown (v4.0.0)
Loading from cache
- Installing alt-three/emoji (v1.2.0)
Loading from cache
- Installing asm89/stack-cors (0.2.1)
Loading from cache
- Installing barryvdh/laravel-cors (v0.5.0)
Loading from cache
- Installing doctrine/lexer (v1.0.1)
Loading from cache
- Installing doctrine/annotations (v1.2.7)
Loading from cache
- Installing doctrine/cache (v1.4.2)
Loading from cache
- Installing doctrine/collections (v1.3.0)
Loading from cache
- Installing doctrine/common (v2.5.1)
Loading from cache
- Installing doctrine/dbal (v2.5.1)
Loading from cache
- Installing fideloper/proxy (3.0.0)
Loading from cache
- Installing graham-campbell/security (v3.2.0)
Loading from cache
- Installing graham-campbell/binput (v3.2.0)
Loading from cache
- Installing filp/whoops (1.1.7)
Loading from cache
- Installing graham-campbell/exceptions (v4.0.0)
Loading from cache
- Installing graham-campbell/throttle (v4.1.1)
Loading from cache
- Installing jenssegers/date (v3.0.8)
Loading from cache
- Installing mccool/laravel-auto-presenter (3.1.1)
Loading from cache
- Installing pragmarx/google2fa (v0.5.0)
Loading from cache
- Installing roumen/feed (v2.9.3)
Loading from cache
- Installing watson/validating (1.0.3)
Loading from cache
Generating optimized autoload files
Generating optimized class loader
Compiling common classes
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!
�>>> Running Command: php artisan migrate �
Nothing to migrate.
�>>> Setting Storage Directory: storage �
�>>> Setting Release Live �
�>>> Deploy Successful�
Make sure your Environment tab is:
APP_ENV=local
APP_DEBUG=true
APP_URL=http://mydomain.com/ [your domain]
APP_KEY=q64efZqizju7eD71s74PczHXgjrkRvM0 [random key]
DB_DRIVER=mysql
DB_HOST=localhost
DB_DATABASE=9a_cachet_live_1444685947 [database name]
DB_USERNAME=root
DB_PASSWORD=iKzXOXWGugz8Mlwe3JbD3wrebMrPM4Cw [database password]
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=database
MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ADDRESS=null
MAIL_NAME=null
REDIS_HOST=null
REDIS_DATABASE=null
REDIS_PORT=null
Unfortunately Laravel will cache .env files meaning if you update these settings then Laravel may not pick them up, you could ssh into the server and clear the cache:
ssh root@ip
cd /var/www/9a-cachet-live-1444685947/releases/1444689396 [Your most current release]
php artisan config:clear
Or update the deploy.json to:
{
"commands": [
"php artisan config:clear"
"composer install --no-dev -o",
"php artisan migrate"
],
"storage": {
"storage": 775
},
"permissions": {
}
}
Seeing lots of failed but retry or just can't continue errors. One which said look at the logs, but without some feedback I can't fix the problem that is causing the issues.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.