AiShieldsWeb
1.0.0
@Apprentices Aishields Draft Web Front End Setup: BCAMP.DEV Data และ AI Cohort Spring 2024
โครงการ: สารฆ่าเชื้อข้อมูลข้อมูลสำหรับ AI Aishields Web Front End:
การพึ่งพา: Python 3.12.3, Sqlite3
mkdir aiShieldsLocal
cd aiShieldsLocal
เรียกใช้ไฟล์: AiShieldsWeb/cloneMostRecentAndSetupEnv.sh
b) Windows:
git clone https://github.com/AiShieldsOrg/AiShieldsWeb.git
cd AiShieldsWeb
python3.12 -m venv .venv
source /Users/pmk/Documents/AiShieldsWeb/.venv/bin/activate
pip3.12 install -r requirements.txt
chmod +x helpers/Patrick-5e39e57f-0550-49f3-8db6-d33cd139168f.pem
self_protection.py line 17: strPEMfileName = './helpers/Patrick-5e39e57f-0550-49f3-8db6-d33cd139168f.pem'.env ใส่ไฟล์นี้ลงในไดเรกทอรีการทำงานของโครงการ อย่าลืมตั้งค่าเส้นทางโลคัลที่ถูกต้องไปยัง Sqllite 3 sqlite3://// ในไฟล์. env ของคุณ app . config [ 'SECRET_KEY' ] = 'your_secret_key' unix/macOS/linux run run_flask_app.sh
Windows:
$env:FLASK_APP = "app.py"
flask run --host=0.0.0.0 --port=5000