Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

Β 

History

History
93 lines (64 loc) Β· 1.46 KB

File metadata and controls

93 lines (64 loc) Β· 1.46 KB

πŸš€ How to Start CodePilot

Quick reference for starting CodePilot after shutdown.


⚑ Quick Start (2 Terminals)

Terminal 1: Start Backend

cd /Users/aliasgarmomin/codepilot
python3 api/main.py

Wait for: πŸš€ CodePilot API ready!

Terminal 2: Start Frontend

cd /Users/aliasgarmomin/codepilot/web
npm run dev

Wait for: Ready on http://localhost:3000


🌐 Access the Application


🐳 Alternative: Docker

cd /Users/aliasgarmomin/codepilot
docker-compose up -d

Stop:

docker-compose down

βœ… Verify Everything Works

1. Check API:

curl http://localhost:8000/health

2. Check Frontend:

curl http://localhost:3000

3. Test Search:

  1. Go to http://localhost:3000
  2. Try a search query
  3. Verify results appear

πŸ›‘ Stop Everything

# Kill all processes
ps aux | grep -E "(api/main.py|npm run dev)" | grep -v grep | awk '{print $2}' | xargs kill -9

# Or manually:
# Ctrl+C in both terminals

πŸ“‹ Before Deploying

  • Test locally works (both terminals running)
  • Search returns results
  • GitHub URL ingestion works
  • No errors in terminal
  • Commit all changes
  • Push to GitHub
  • Follow DEPLOYMENT.md

See you tomorrow! πŸ‘‹