🎼 Laravel 5.7 Framework using GraphQL
- Clone the repo and
cd
into it - Run this command
vagrant box add laravel/homestead
- Run this command
composer install
- Run this command Mac / Linux
bash init.sh
or Windowsinit.bat
- Rename or copy
.env.homestead
file to.env
- Set your amazon s3 credentials in your
.env
file - Set your algolia credentials in your
.env
file - Set your pusher credentials in your
.env
file - Run this command
php artisan key:generate
- Run this command
php artisan config:cache
- Run this command
vagrant up
- Run this command
vagrant ssh
- Run this command
cd home/vagrant/code/
- Run this command
php artisan migration
- Run this command
php artisan db:seed
- Run this command
yarn install
- Run this command
yarn run dev
- Visit
laravel-graphql.test
in your browser
- Clone the repo and
cd
into it - Create users and table in PostgreSQL
- Run this command
composer install
- Rename or copy
.env.example
file to.env
- Run this command
php artisan key:generate
- Run this command
php artisan passport:install
- Set your database credentials in your
.env
file - Set your mail credentials in your
.env
file - Set your
APP_URL
in your.env
file - Set your
APP_DEBUG
in your.env
file with the valuetrue
- Set your
GRAPHQL_PLAYGROUND_ENABLED
in your.env
file with the valuetrue
- Run this command
php artisan config:cache
- Run this command
php artisan db:seed
- Run this command
php artisan serve
or use Laravel Valet or Laravel Homestead - Visit
localhost:8000
in your browser
- Clone the repo and
cd
into it - Create users and table in PostgreSQL
- Configure Nginx with these settings
nginx.conf
- Run this command
composer install
- Rename or copy
.env.example
file to.env
- Run this command
php artisan key:generate
- Run this command
php artisan passport:install
- Set your database credentials in your
.env
file - Set your mail credentials in your
.env
file - Set your
APP_URL
in your.env
file - Set your
APP_DEBUG
in your.env
file with the valuefalse
- Set your
GRAPHQL_PLAYGROUND_ENABLED
in your.env
file with the valuetrue
- Run this command
php artisan config:cache
- Run this command
php artisan db:seed
- Clone the repo and
cd
into it - Run this command
heroku create
- Run this command
heroku buildpacks:set heroku/php
- Run this command
heroku buildpacks:set heroku/nodejs
- Run this command
heroku addons:create heroku-postgresql:hobby-dev
- Run this command
heroku config:set APP_NAME=Laravel GraphQL
- Run this command
heroku config:set APP_ENV=production
- Run this command
heroku config:set APP_KEY=secret
- Run this command
heroku config:set APP_DEBUG=secret
- Run this command
heroku config:set TELESCOPE_ENABLED=secret
- Run this command
heroku config:set APP_URL=secret
- Run this command
heroku config:set LOG_CHANNEL=errorlog
- Run this command
heroku config:set DB_CONNECTION=pgsql
- Run this command
heroku config:set DB_HOST=secret
- Run this command
heroku config:set DB_PORT=secret
- Run this command
heroku config:set DB_DATABASE=secret
- Run this command
heroku config:set DB_USERNAME=secret
- Run this command
heroku config:set DB_PASSWORD=secret
- Run this command
heroku config:set BROADCAST_DRIVER=log
- Run this command
heroku config:set CACHE_DRIVER=file
- Run this command
heroku config:set SESSION_DRIVER=database
- Run this command
heroku config:set SESSION_LIFETIME=120
- Run this command
heroku config:set QUEUE_DRIVER=sync
- Run this command
heroku config:set MAIL_DRIVER=secret
- Run this command
heroku config:set MAIL_HOST=secret
- Run this command
heroku config:set MAIL_USERNAME=secret
- Run this command
heroku config:set MAIL_PASSWORD=secret
- Run this command
heroku config:set MAIL_ENCRYPTION=secret
- Run this command
heroku config:set MAIL_FROM_ADDRESS=secret
- Run this command
heroku config:set MAIL_FROM_NAME=secret
- Run this command
git push heroku master
- Run this command
heroku open
or