$ git clone$ python -m venv venv
$ source venv/bin/activate
$ cd back
$ pip install -r requirements.txt.envファイルを作成し、以下の内容を記述する
Google API Key はGoogle AI Platformから取得する
DATABASE_URL="postgresql://hack_helper:hackathon@db/hackathon_support_agent"
GOOGLE_API_KEY="YOUR_GOOGLE_API_KEY"
$ cd front
$ npm install.envファイルを作成し、以下の内容を記述する
NEXT_PUBLIC_API_URL=http://localhost:8000
NEXT_PUBLIC_NEXT_API_URL=http://localhost:3000/api
GITHUB_ID="GitHubから取得できるID"
GITHUB_SECRET="自分のGithubから取得できるSecret"
NEXTAUTH_SECRET="自分でランダムに生成した文字列"$ cd back
$ source venv/bin/activate
$ python create_tables.py
$ python app.pyとする。
$ cd back
$ source venv/bin/activate
$ python app.pyで回すことが出来る。
$ cd front
$ npm run devdocker compose build --no-cache