Git Product home page Git Product logo

laravel-e-shop's Introduction

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.

laravel-e-shop's People

Contributors

dependabot[bot] avatar viacheslavpleshkov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.