Skip to content

Instantly share code, notes, and snippets.

@groony
Last active March 21, 2017 14:03
Show Gist options
  • Save groony/a909a6d18de22653e2b6420f94921426 to your computer and use it in GitHub Desktop.
Save groony/a909a6d18de22653e2b6420f94921426 to your computer and use it in GitHub Desktop.
estel instruction for developer
install docker-compose
cd ${your_project_path}
git submodule add https://github.com/Laradock/laradock.git
cd laradock
git checkout v4.20.0
rm nginx/sites/laravel-https.conf
open docker-compose.yml
find workspace: and find INSTALL_NODE and set it to true
docker-compose up -d nginx mysql
add to .env
DB_HOST=mysql
REDIS_HOST=redis
QUEUE_HOST=beanstalkd
docker-compose exec workspace bash
cp .env.example .env
composer install
nano .env
DB_HOST=mysql
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
php artisan migrate --seed
npm i
npm run dev (or gulp)
open resources/assets/js/store/index.js
change Vue.use(Vuex); to Vue.use(Vuex.default);
open http://localhost
use it :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment