Flux is an extensible and cross-platform Unix-like terminal written in python that has many different commands built to help the user to manage many tasks.
- Clone the repository on your machine
git clone https://github.com/roysmanfo/Flux.git
- Install Flux using pip
cd Flux; pip install .
- Verify that the installation has been successfull by running the
flux
command on your terminal
Flux comes with many scripts for the most common tasks, but it also provides an API to develop your own scripts and commands.
Read the docs regarding the Flux API.
You can also find a guided tutorial on how to create your first Flux command
To run Flux you will need to have python installed (at least version 3.8, but a version >=3.10 is prefered)
Linux
If you are using linux you can setup the system simply by executing setup.sh
.
You can decide to execute the commands manually, then here are the commands for setting up the system in both and
pip install virtualenv
python3 -m venv --prompt venv .venv
source ./.venv/bin/activate
pip install -r linux-requirements.txt
Windows
pip install virtualenv
python -m venv --prompt venv .venv
./.venv/Scripts/activate
pip install -r win-requirements.txt
to run Flux now you will need to move into the Flux
folder
and execute main.py
NOTE: Each time you will need to activate the virtual environment to execute
main.py
, otherwise you will not have access to the dependencies you just installed
Linux
cd Flux && python3 main.py
Windows
cd Flux; python main.py
If you want to start contributing, you'll need a good knowledge of the python language,
and feel confortable when using it.
You'll also need do have some experience with packages and json files in python.
Fore more information check CONTRIBUTING.md