In development mode, you can deploy AskOmics dependencies with docker-compose, but AskOmics itself should be running locally, on your development machine.

Prerequisites

Install AskOmics 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

Deploying 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

Deploy AskOmics in development mode

AskOmics installation and deployment is made with make. Use make help to see available commands.

Install

make install MODE=dev

Run

make serve MODE=dev NTASKS=10