Giter VIP home page Giter VIP logo

twelveis-csdlnc1-da1's Introduction

  • Tải vsc, tải nodejs bản recomended for most users, tải git
  • Link git: https://git-scm.com/downloads
  • Link nodejs: https://nodejs.org/en/ (tải bên trái)
  • Link VSCode: https://code.visualstudio.com/ check = lệnh git --version, nếu ko ra gì thì restart máy
  • B1: tạo thư mục chứa source code
  • B2: mở VSC -> file -> open folder... -> chọn folder vừa tạo
  • B3: nhấn ctrl + ~ (để mở terminal, gõ ở terminal) 'gõ git init' tiếp theo 'git pull https://github.com/Boom-Chill/TEST-TwelveIS-CSDLNC1-DA1.git'
  • B3.5: Mở thêm 1 terminal để truy cập vào thư mục 1 da1, 1 server
  • B4: truy cập vào từng thư mục vừa pull về bằng lệnh 'cd ./da1' và 'cd ./server' (mở 2 terminal để chạy, 2 cái này là 2 lệnh riêng)
  • B5: ở mỗi terminal chạy lệnh 'npm install' để kéo package về (ko chạy đc npm có thể là do chưa tải, cài đc nodejs)
  • B6: sau khi đã kéo về thành công ở mỗi terminal chạy lệnh npm start để bắt đầu

Note:

  • nếu không chạy đc server thì xem thử tên database đúng chưa (server/index.js dòng 8~15 (như hình là 'DA1'), keywword: config MSSQL by window authentication in nodejs / use mssql/msnodesqlv8, khác với xác thực bằng tài khoản mật khẩu, dùng xác thực bằng window vậy cho tiện)

Screenshot Screenshot

config trên máy tính

  • B1: bấm window + R copy đọn này 'compmgmt.msc' vào và nhấn OK
  • Screenshot
  • B2: mở bản computer management mở ô có màu xám (SQL Server Services)
  • Screenshot
  • B3: double click vào SQL Server Browser qua tab service chỉnh start mode về automatic
  • Screenshot
  • B3.5: Sau đó cho khởi chạy như hình (nhấn start)
  • Screenshot
  • B4: Chọn Protocol for MSSQLSERVER (tên MSSQLSERVER có thể thay đổi dựa vào tên server mssql), double click vào TCP/IP
  • Screenshot
  • B5: Chọn IP Addresses của bản TCP/IP cấu hình lại như hình
  • Screenshot
  • B6: Restart lại 2 server trong hình
  • Screenshot

twelveis-csdlnc1-da1's People

Contributors

boom-chill avatar huyhoangn avatar mkforit1510 avatar tranvinhphat0202 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.