現代學生管理系統? ?具有交互式儀表板等功能?出勤管理?提供反饋✍結果生成休假申請?

在此處查看實時網站!
在此處找到詳細的項目報告!
Akash Shrivastava ? ? ♂️? | Akanksha Tamboli ? | Shreejit Nair ? | Samiksha Naik ? |
注意:確保您擁有3.8+版本的Python版本
環境設置
$ git clone https://github.com/Akash1362000/Django_Student_Management_System.git
$ cd Django_Student_Management_System/
創建.env文件(請參閱.env.example文件)
從這裡生成SECRET_KEY
從這裡生成您的CAPTCHA_SECRET
複製您的SITE KEY後,生成CAPTCHA_SECRET並將其粘貼到student_management_app/templates/login_page.html中的data-sitekey中(用鍵替換當前密鑰)
從這里安裝Postgres最新版本
從這里安裝pgadmin
使用PGADMIN創建數據庫,然後按照此處提到的步驟
在.env中更新您的DATABASE_URL您的數據庫詳細信息,例如USER , PASSWORD和DB_NAME
如果未安裝virtualenv(什麼是virtualenv?):
$ pip install virtualenv
創建虛擬環境
$ virtualenv venv
每次打開項目時都會激活環境
$ source venv/Scripts/activate
安裝要求?
$ pip install -r requirements.txt
$ pre-commit install
運行數據庫的遷移
$ python manage.py migrate
為管理員登錄創建超級用戶?
$ python manage.py createsuperuser
輸入所需的用戶名,電子郵件和密碼。確保您記住它們,因為將來需要它們。
例如。
Username: admin
Email: [email protected]
Password: HighlyConfidentialPassword
全部設置! ?
現在您可以運行服務器以查看您的應用程序並運行
$ python manage.py runserver
退出環境❎
$ deactivate
每次您想在瀏覽器中打開應用程序時,請確保運行:
$ source venv/Scripts/activate
$ python manage.py runserver
如果要使用Docker運行此項目,則需要執行以下步驟:
docker --version和docker compose --version [在Windows中,您需要運行docker-compose --version檢查版本]docker-compose.yml文件,並使用生成的密鑰更新CAPTCHA_SECRET的值。您可以從這裡生成docker compose up -ddocker exec -it student_management_system sh -c "python manage.py createsuperuser"來創建一個新的超級用戶docker compose stopdocker compose startdocker compose down 喜歡我們的工作嗎? ?明星這個存儲庫會激勵我們更多嗎?
MIT License
Copyright (c) 2020 Akash Shrivastava
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.