-
Notifications
You must be signed in to change notification settings - Fork 46
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:
- Clone or download the GitHub repository https://github.com/neuroneural/brainchop to your local drive.
- For clone:
- For shallow clone - clone only last release and latest commits:
- git clone --depth 1 https://github.com/neuroneural/brainchop.git
- 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 )
- Now you can run the demo in the browser with the free port 80xx (e.g., http://localhost:8020 )