AlgoWorld Docs
  • Overview
  • Swapper
    • Quick Start
      • Prerequisites
      • Setting up local development
      • Scripts
    • Architecture
      • Public Swaps
    • Directory structure
    • Env variables
    • Path Mapping
    • Testing
      • End to end tests
  • Explorer
    • Quick Start
    • Architecture
      • Gallery
      • City Packs
      • City Influence
Powered by GitBook
On this page
  • 1. Create virtual environment for python functions:
  • 2. Install all dependencies
  • 3. Run the client locally:

Was this helpful?

  1. Swapper
  2. Quick Start

Setting up local development

To start the project locally:

1. Create virtual environment for python functions:

python -m venv .venv
source .venv/bin/activate

2. Install all dependencies

pip install -r api/swappers/requirements.txt

3. Run the client locally:

vercel dev

Open http://localhost:3000 with your browser to see the result.

Running vercel dev for the first time will prompt you to setup and link with your existing/new vercel project. You can create a dummy project and link it to be able to run the development locally.

PreviousPrerequisitesNextScripts

Last updated 2 years ago

Was this helpful?