Creating a Flou project¶
-
Install
docker engineif not already present. -
Create a new folder for your Flou project:
% mkdir my-project % cd my-project -
Start a Python virtual environment and install Flou:
% python3 -m venv venv % source venv/bin/activate (venv) % pip install flouFlou is currently private
To install Flou you will need access to the
flou-privaterepo and point to it:pip install -e "git+https://github.com/flou-ai/flou-private/#egg=flou&subdirectory=flou" -
Create an
app.pyfile, the entrypoint for your Flou project and arequirements.txtfile for your project dependencies:(venv) % touch app.py (venv) % touch requirements.txt -
Start Flou:
(venv) % flou compose upFlou uses docker under the hood
Flou uses
docker composeto easily manage all the needed processes with a friendly wrapper viaflou compose.Flou is currently private
To run Flou you will need to run it in development mode or run a local docker registry.
-
Open the Flou Studio by visiting http://localhost:8001 .
-
You can find the Flou Api documentation in http://localhost:8000/docs .