In development mode, AskOmics dependencies can be deployed with docker-compose, but AsKomics have to be running locally, on your dev machine.

Prerequisites

Install dev dependencies

# Debian/Ubuntu
sudo apt install -y git python3 python3-venv python3-dev make gcc zlib1g-dev libbz2-dev liblzma-dev g++ npm
# Fedora
sudo dnf install -y git make gcc zlib-devel bzip2-devel xz-devel python3-devel gcc-c++ npm

Install docker:

Install docker-compose:

# Debian/Ubuntu
apt install -y docker-compose
# Fedora
dnf install -y docker-compose

Deploy dependencies

We provide a docker-compose template to run external services used by AskOmics. Clone the flaskomics-docker-compose repository to use it.

git clone https://github.com/askomics/flaskomics-docker-compose.git

Use the dev directory

cd flaskomics-docker-compose/dev

Deploy dockers

docker-compose up -d

Fork and clone AskOmics repository

Fork the AskOmics repository

then, clone your fork locally

git clone https://github.com/USERNAME/flaskomics.git # replace USERNAME with your github username

Install AskOmics

Use the install.sh script to setup the python virtual environment and to download python and node modules needed.

./install.sh

Run

Run in dev mode

./run_all.sh -d dev