Git Product home page Git Product logo

web_banhang's Introduction

Cài đặt môi trường

Cài đặt xampp và config php.ini

  1. Tải xampp tại đây.

  2. Thêm 3 extension vào file php.ini

extension=php_pgsql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
  1. Tải file php_pgsql.dll tại đây.

  2. Giải nén và lưu file php_pgsql.dll vào /xampp/php/

Clone project

  1. cd vào /xampp/htdocs/
git clone [email protected]:nguyenduong2612/web_banhang.git

hoặc dùng Github Desktop, link project tại đây.

Cài đặt postgreSQL và import database

  1. Tải postgreSQL (recommend 9.6 hoặc 10, pgAdmin4) tại đây. Copy file dbexport.pgsql vào PostgreSQL/9.6/bin/

  2. cd đến PostgreSQL/9.6/bin/, chạy trên cmd

pg_dump -U username dbname < dbexport.pgsql

Trường hợp không chạy được import, có thể import thủ công bằng cách copy file db_banhang.sql vào Query Tool trên pgAdmin

Thông tin quản trị

Tài khoản/Mật khẩu quản trị: admin/admin. Link localhost/web_banhang/quan_tri

Chú ý config lại dbname, user, password tại file ket_noi.php theo PostgreSQL

web_banhang's People

Contributors

nguyenduong2612 avatar thanhcong2298 avatar sogun1998 avatar manhnguyen1998 avatar thanhcongphung avatar

Watchers

James Cloos 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.