Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 762 Bytes

DEVELOPMENT.md

File metadata and controls

35 lines (20 loc) · 762 Bytes

DEVELOPMENT

Build project

Build the project from source with the following code.

python setup.py compile_assets
python setup.py sdist bdist_wheel

Development workflow

Install both npm and Python.

Install the ASReview package (in a different terminal)

pip install -e .

Start the Python API server

export FLASK_ENV=development
asreview lab

Navigate to asreview/webapp and install npm.

cd asreview/webapp
npm install

The user interface is written in React. First, start a development server with npm. This serves is used for React development.

npm start

Open the webbrowser at localhost:3000. Important: ignore localhost:5000 for front-end development.