Code Monkey home page Code Monkey logo

pbl5_oderweb's Introduction

Just do it

Make sure that u have already installed composer, or download it here https://getcomposer.org/

Step1: Open phpmyadmin to create a new database for project: (example: pbl5 (utf8mb4_general_ci))

Step2: Go to htdocs folder then open git Bash here

- Run command: git clone

- Run command: cd "project folder"

- Run command: composer install

- Run command: cp .env.example .env

Open: .env -> edit: DB_DATABASE (exp: DB_DATABASE=pbl5)

- Run command: php artisan key:generate

- Run command: php artisan migrate

- Run command: php artisan storage:link

Step3: Run command: php artisan serve -> http://127.0.0.1:8000/home

(option1) After pull, plz run command: 'php artisan migrate' to create the database

(option2) To create the database with seeder (demo data) : php artisan migrate:refresh --seed

available admin: [email protected], password: 123 (route: /admin/login): go to 'roles' and 'permissions' feature in 'admin page' to add more permissions for admin

Setup to use 'Email Verification'

Notice that: Now, Google has decided to begin phasing out Less Secure Apps from May 30th, 2022. Google Workspace and Google Cloud Identity users won’t be affected right away, but support for Less Secure Apps will still be phased out for those users at a later date.

We’ve recommended app passwords for some time, but some customers have chosen to use Less Secure Apps since it’s a little more straightforward. Now that the feature is being retired, all users will need to switch to app passwords or use a different mailer.

Step1: setting your gmail account

alt text alt text

Enable 2 steps verification

alt text

Click: App password (under 2 steps verification)

alt text alt text

Copy generated App password

Step2: config .env

APP_NAME={your_app_name}
...

MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME={your_gmail}
MAIL_PASSWORD={your_app_password}
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS={your_gmail}

pbl5_oderweb's People

Contributors

trongxt-0611 avatar hobathanh avatar trongthai-23022 avatar thaivantho 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.