Skip to content

๐Ÿ‘• The online store was created using the Laravel 6.1 Framework

License

Notifications You must be signed in to change notification settings

viacheslavpleshkov/laravel-e-shop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

98 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

laravel-e-shop


๐Ÿ‘• The online store was created using the Laravel 6.1 Framework

Used technologies

HTML5, CSS3, SCSS, JavaScript, jQuery, Bootstrap, Font Awesome, Webpack, Yarn, Heroku, Nginx, PHP, Laravel Framework, Laravel Eloquent, Laravel Blade, Laravel Homestead, Composer, Redis, Amazon S3, Stripe, PostgreSQL, New Relic, Timber.io Logging, Mailgun, Mailtrap.

Installation Dev (Vagrant)

  1. Clone the repo and cd into it
  2. Run this command vagrant box add laravel/homestead
  3. Run this command composer install
  4. Run this command Mac / Linux bash init.sh or Windows init.bat
  5. Rename or copy .env.homestead file to .env
  6. Set your amazon s3 credentials in your .env file
  7. Run this command php artisan key:generate
  8. Run this command php artisan config:cache
  9. Run this command vagrant up
  10. Run this command vagrant ssh
  11. Run this command cd home/vagrant/code/
  12. Run this command php artisan migration
  13. Run this command php artisan db:seed
  14. Run this command yarn install
  15. Run this command yarn run dev
  16. Visit laravel-e-shop.test in your browser

Installation Dev

  1. Clone the repo and cd into it
  2. Create users and table in PostgreSQL
  3. Run this command composer install
  4. Rename or copy .env.example file to .env
  5. Run this command php artisan key:generate
  6. Set your database credentials in your .env file
  7. Set your mail credentials in your .env file
  8. Set your APP_URL in your .env file
  9. Set your APP_DEBUG in your .env file with the value true
  10. Set your TELESCOPE_ENABLED in your .env file with the value true
  11. Set your STRIPE_SECRET in your .env file
  12. Run this command php artisan config:cache
  13. Run this command php artisan db:seed
  14. Run this command yarn install
  15. Run this command yarn run dev
  16. Run this command php artisan serve or use Laravel Valet or Laravel Homestead
  17. Visit localhost:8000 in your browser

Installation Production

  1. Clone the repo and cd into it
  2. Create users and table in PostgreSQL
  3. Configure Nginx with these settings nginx.conf
  4. Run this command composer install
  5. Rename or copy .env.example file to .env
  6. Run this command php artisan key:generate
  7. Set your database credentials in your .env file
  8. Set your mail credentials in your .env file
  9. Set your APP_URL in your .env file
  10. Set your APP_DEBUG in your .env file with the value false
  11. Set your TELESCOPE_ENABLED in your .env file with the value false
  12. Set your STRIPE_SECRET in your .env file
  13. Run this command php artisan config:cache
  14. Run this command php artisan db:seed
  15. Run this command yarn install
  16. Run this command yarn run production

Deploying to Heroku

  1. Clone the repo and cd into it
  2. Run this command heroku create
  3. Run this command heroku buildpacks:set heroku/php
  4. Run this command heroku buildpacks:set heroku/nodejs
  5. Run this command heroku addons:create heroku-postgresql:hobby-dev
  6. Run this command heroku config:set APP_NAME=E-shop
  7. Run this command heroku config:set APP_ENV=production
  8. Run this command heroku config:set APP_KEY=secret
  9. Run this command heroku config:set APP_DEBUG=secret
  10. Run this command heroku config:set TELESCOPE_ENABLED=secret
  11. Run this command heroku config:set APP_URL=secret
  12. Run this command heroku config:set LOG_CHANNEL=errorlog
  13. Run this command heroku config:set DB_CONNECTION=pgsql
  14. Run this command heroku config:set BROADCAST_DRIVER=log
  15. Run this command heroku config:set CACHE_DRIVER=redis
  16. Run this command heroku config:set SESSION_DRIVER=redis
  17. Run this command heroku config:set SESSION_LIFETIME=120
  18. Run this command heroku config:set QUEUE_DRIVER=redis
  19. Run this command heroku config:set STRIPE_SECRET=secret
  20. Run this command heroku config:set MAIL_DRIVER=secret
  21. Run this command heroku config:set MAIL_HOST=secret
  22. Run this command heroku config:set MAIL_USERNAME=secret
  23. Run this command heroku config:set MAIL_PASSWORD=secret
  24. Run this command heroku config:set MAIL_ENCRYPTION=secret
  25. Run this command heroku config:set MAIL_FROM_ADDRESS=secret
  26. Run this command heroku config:set MAIL_FROM_NAME=secret
  27. Run this command git push heroku master
  28. Run this command heroku open

or

Deploy to Heroku

License

Collision is an open-sourced software licensed under the MIT license.