A search engine originally built in 2009, currently being migrated from Flask (Python) to Sinatra (Ruby) as part of a DevOps project.
MonkKnows/
├── .github/
│ ├── ISSUE_TEMPLATE/
│ └── workflows/
│ └── ci.yaml
├── docs/
│ ├── branching-strategi/
│ ├── choices-and-challenges/
│ └── openapi/
├── legacy-flask/ # Python legacy application
├── ruby-sinatra/ # Active Ruby/Sinatra application
└── .gitignore
Flask and Sinatra run side by side during migration. Functionality is moved route by route – read-only endpoints first, authentication and write logic later. Both versions share the same SQLite database in the interim.
cd ruby-sinatra
bundle config set --local path vendor/bundle
bundle install
bundle exec ruby app.rbApp runs on http://localhost:4567
cd python-legacy
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.pyApp runs on http://localhost:5000