Skip to content

Instantly share code, notes, and snippets.

View jonnathanc765's full-sized avatar
🏠
Working from home

Jonnathan Carrasco jonnathanc765

🏠
Working from home
  • Venezuela
View GitHub Profile
@nafiesl
nafiesl / codeship-setup-commands-laravel-mysql.txt
Last active February 23, 2021 13:07
Codeship Setup Commands for Laravel that uses MySQL Database
phpenv local 7.0
echo "memory_limit = 512M" >> /home/rof/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# install dependencies
COMPOSER_HOME=${HOME}/cache/composer
composer install --prefer-dist --no-interaction
# set up environment variables
touch .env
echo "APP_ENV=testing" >> .env
echo "APP_DEBUG=true" >> .env
echo "APP_KEY=base64:sQPFP80eWJQGo0SDPc+M2Tib+GLUocRYRw4RLsfM27I=" >> .env