AiShieldsWeb
1.0.0
@Apprentices Aishields Draft Web Front End Setup: BCAMP.DEV Data dan AI Cohort Spring 2024
Proyek: Pembersih Data untuk ujung depan Web AIShields:
Ketergantungan: Python 3.12.3, SQLite3
mkdir aiShieldsLocal
cd aiShieldsLocal
Jalankan file: 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 (Ren Ren Nama. Masukkan file ini ke direktori kerja proyek. Jangan lupa untuk mengatur jalur lokal yang benar ke Sqllite 3 sqlite3://// di file .env Anda app . config [ 'SECRET_KEY' ] = 'your_secret_key' UNIX/MacOS/Linux Jalankan run_flask_app.sh
Windows:
$env:FLASK_APP = "app.py"
flask run --host=0.0.0.0 --port=5000