Skip to content

Trainning28/School_Management_System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Các bước thiết lập và chạy dự án School management system:

Bước 1: Thiết lập Environment

Tạo Virtual Environment (môi trường ảo):

Chạy lệnh sau để tạo môi trường ảo: python -m venv venv

Kích hoạt Environment:

Trên Windows: .\venv\Scripts\activate

Trên MacOS/Linux: source venv/bin/activate

Bước 2: Cài Django và Các Dependencies

Cài đặt Django: pip install django

Cài đặt tất cả thư viện từ file requirements.txt: install -r requirements.txt

Bước 3: Khởi Tạo và Cấu Hình Cơ Sở Dữ Liệu

Tạo migrations: python manage.py makemigrations

Cập nhật cơ sở dữ liệu với migrations: python manage.py migrate

Bước 4: Chạy Server và Dự Án Django: python manage.py runserver

Khi thành công, server sẽ chạy tại địa chỉ mặc định: http://127.0.0.1:8000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors