Skip to content

Local Setup

Mohamed E. Masoud edited this page Jun 2, 2024 · 7 revisions

In general, the user can to call Brainchop directly in the browser via www.brainchop.org or https://neuroneural.github.io/brainchop . However, if the user wants to have a local setup, follow these steps please:

  • For clone:
  • For shallow clone - clone only last release and latest commits:
  • Navigate to the root directory .
  • For v4.0:
  • npm install
  • npm run dev
  • Now you can run the demo in the browser with the free port (e.g., http://localhost:3000 )
  • This make brainchop developing interactively: when you save modified source files the web page is reloaded
  • To build:
  • npm run build
  • For v3.4.0 and previous versions:
  • Execute the following command to start the HTTP server:
  • For Python-2, run HTTP server with free port 80xx (e.g., python -m SimpleHTTPServer 8020 )
  • For Python-3, run HTTP server with free port 80xx (e.g., python -m http.server 8020 )
Clone this wiki locally