AiShieldsWeb
1.0.0
@Accorts Aishields Draft Web Front End Setup: BCAMP.DEV Data und AI Cohort Spring 2024
Projekt: Dateneinrichtung für AI -Aishields Web Front End:
Abhängigkeiten: Python 3.12.3, SQLite3
mkdir aiShieldsLocal
cd aiShieldsLocal
Führen Sie die Datei aus: AiShieldsWeb/cloneMostRecentAndSetupEnv.sh
b) Fenster:
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 Zeile 17: strPEMfileName = './helpers/Patrick-5e39e57f-0550-49f3-8db6-d33cd139168f.pem'.env (Diskordien). Fügen Sie diese Datei in das Projektarbeitsverzeichnis ein. Vergessen Sie nicht, den richtigen lokalen Pfad zu Ihrem SQLLite 3 sqlite3://// in Ihrer .env -Datei festzulegen app . config [ 'SECRET_KEY' ] = 'your_secret_key' UNIX/MACOS/Linux run_flask_app.sh rennen
Fenster:
$env:FLASK_APP = "app.py"
flask run --host=0.0.0.0 --port=5000