Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .devcontainer/env-default
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Uncomment the endpoint that you want to use:
#AI_API_ENDPOINT=https://models.github.ai/inference
#AI_API_ENDPOINT=https://api.githubcopilot.com
#AI_API_ENDPOINT=https://api.openai.com/v1

# Optional data storage directories. By default, ~/.local is used.
#MEMCACHE_STATE_DIR=/app/data
#CODEQL_DBS_BASE_PATH=/app/data
#DATA_DIR=/app/data
#LOG_DIR=/app/logs
Comment thread
kevinbackhouse marked this conversation as resolved.
5 changes: 2 additions & 3 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ pip install -e .
# Create .env file if it doesn't exist
if [ ! -f .env ]; then
echo "📝 Creating .env template..."
echo "# Optional: CodeQL database base path" >> .env
echo "CODEQL_DBS_BASE_PATH=$(realpath data)" >> .env
echo "⚠️ Please configure the environment or your .env file with required tokens!"
cp .devcontainer/env-default .env || { echo "Error creating .env"; exit 1; }
echo "⚠️ Defaults can be changed by editing the auto-generated .env file."
fi

echo "✅ Development environment setup complete!"