AiShieldsWeb
1.0.0
@Apprentices AishieldsドラフトWebフロントエンドセットアップ:BCAMP.DEVデータとAIコホート2024年春
プロジェクト:AI Aishields Webフロントエンドのデータ消毒剤:
依存関係: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行17の正しいパスを表示します。 strPEMfileName = './helpers/Patrick-5e39e57f-0550-49f3-8db6-d33cd139168f.pem'.envダウンロード:https://discord.com/channels/122942715450523658/1230004837845045369/1241936868099096586このファイルをプロジェクトワーキングディレクトリに入れます。 .envファイルにsqllite3 sqlite3:////に正しいローカルパスを設定することを忘れないでください 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