How To Install LanGauge¶
LanGauge currently only supports Linux usage locally.
Using Pip¶
1.) Create (or navigate to) a folder you would like to use with LanGauge and create a virtual environment
python3 -m venv env
2.) Activate the virtual environment
source env/bin/activate
3.) Install the application
pip install langauge
4.) Starting the frontend
langauge ui [OPTIONS]
Options:
-h, --host TEXT The network address to listen on (default:
127.0.0.1). Use 0.0.0.0 to bind to all addresses if
you want to access the tracking server from other
machines.
-p, --port INTEGER The UI port to configure on (default:8080)
-b --backend TEXT The backend address & port to listen on
requests (default: 127.0.0.1:5000).
--help Show this message and exit.
5.) Starting the backend
langauge backend [OPTIONS]
Options:
-bp, --backendport INTEGER The backend port to configure on (default:5000)
Using docker-compose¶
1.) Clone the repository
git clone https://github.com/flapmx/LanGauge.git
2.) Move to langauge directory ( the one with the docker-compose.yml )
cd langauge
3.) Build and launch the project
docker-compose up --build -d
4.) When you want to stop the project
docker-compose down
Accessing the application¶
http://localhost:8080 for the React frontend
http://localhost:5000 for the Flask backend
http://localhost:5555 for the monitoring Celery