paskalk / fcs_backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cell Data Project - Backend

This implements all endpoints

Setup

Run the following to install the modules

pip install pandas, FlowCytometryTools, Tornado, psycopg2, supervisor, asyncio (only for python 2)

The default URL is:

http://localhost:8000

The available endpoints are:

  • /
  • /loadFcsFiles
  • /plotGraph
  • /loadColumns
  • /loadUser
  • /saveUser
  • /loadLocations
  • /generateHeatmap

Entry Point to the app

In the console, type the following (or use the npm run server from the frontend folder)

Python index.py 

Troubleshooting

sudo apt-get install python-psycopg2
sudo apt-get install python3-psycopg2

Setting Up the

This app runs best on Python 3*. To use it on Python 2*, you'll need the module 'Asyncio'

Ubuntu

python -m -venv ~/env
source ~/env/bin/activate (to activate venv)
deactivate (to deactivate venv)

Windows

C:\Users\paska\Desktop\__temp_billogram\back

About


Languages

Language:Python 99.3%Language:HTML 0.7%