Installation
To install Flojoy, firstly there are a few prequisites needed on your machine.
- Python
- A suitable python installation with
pip
. Minimum version requirement for Python is3.10
and20.0
forpip
. You can download Python for your OS from here - It may be worthwhile to create a virtual environment to use with Flojoy to ensure cross-module compatibility. You can find instruction on how to create a Python virtual env here (only for Mac/Unix)
- A suitable python installation with
- Node
Nodejs
is required to run the primary application. You can see the installation instructions forNodejs
here.
- Redis (For Mac & Linux)
- Redis is an open-source, in-memory data store used by Flojoy. It can be installed by the instructions here.
- Memurai (For Windows)
- Memurai is an alternative of Redis for Windows platform. It can be downloaded and installed from official website here
- Mac & Linux
- Windows
Clone the repo with
--recursive
argument as follows:git clone --recursive https://github.com/flojoy-io/studio.git
CD into the project root
cd studio
Run
$ bash flojoy
- If you have virtual environment installed, you can provide the path to the virtualenv folder as follows:
bash flojoy -v venv # venv is the name of the virtual environment folder.
- You can provide optional argument
-r
which will shut down the existing redis server and spin up a fresh one - You can provide
-n
argument to skip installing Javascript packages. - You can provide
-p
argument to skip installing python packages. - Optionally you can provide port number followed by
-P
argument to run backend server on a specific port.
- If you have virtual environment installed, you can provide the path to the virtualenv folder as follows:
There will be many terminal windows open after running the script. These correspond to the Django server, the RQ worker, and the React terminal. Do not panic!
Update your PowerShell to at least >=v7.0.0, you can install latest Powershell from here
Clone the repo with
--recursive
argument as follows:git clone --recursive https://github.com/flojoy-io/studio.git
CD into the project root
cd studio
Run
.\flojoy
- You can provide
-n
argument to skip installing Javascript packages, e.g.\flojoy -n
. - You can provide
-p
argument to skip installing python packages. - Optionally you can provide port number followed by
-P
argument to run backend server on a specific port.
- You can provide
There will be many terminal windows open after running the script. These correspond to the Django server, the RQ worker, and the React terminal. Do not panic!