EpistasisLab / Aliro

Aliro: AI-Driven Data Science
https://epistasislab.github.io/Aliro
GNU General Public License v3.0
224 stars 63 forks source link

Getting started: `docker-compose` fails with: "ERROR: Couldn't find env file: `...`/Aliro-master/config/ai.env" #641

Open mikbuch opened 8 months ago

mikbuch commented 8 months ago

On running:

docker-compose up

in:

/home/ubuntu/Downloads/Aliro-master

(where: ubuntu is my username)

getting:

ERROR: Couldn't find env file: /home/ubuntu/Downloads/Aliro-master/config/ai.env

Env file missing or path in docker-compose is wrong. Nothing on that in getting started: ERROR: Couldn't find env file: /home/ubuntu/Downloads/Aliro-master/config/ai.env

jay-m-dev commented 8 months ago

It looks like you may have downloaded the source code directly from the GitHub repository. Maybe as a clone or you downloaded the source code as a .zip file.

Instead of running the source code directly, you should download the released .zip file from the Assets section of the releases page. (currently Aliro-0.21.1.zip). You can find detailed installation instructions in the user guide. Make sure to change directory to ./target/production/Aliro-0.21.1/ and run docker-compose up from there.

If you prefer to run Aliro in a development environment, you may follow the instructions in the developer guide. In particular, the Building Docker Imates tell you to copy the config/ai.env-template file as config/ai.env

mikbuch commented 8 months ago

Hi @jay-m-dev , so the version on the main branch on GitHub is not a stable one -- you are saying, yes? (i.e., a stable release)

jay-m-dev commented 8 months ago

Hi @mikbuch, yes the main branch is currently stable.