A capturing system using playwright, as a web service.
You need poetry installed, see the install guide.
You need to have redis cloned and installed in the same directory you clone this template in:
this repoitory and and redis
must be in the same directory, and not redis
cloned in the
this directory. See this guide.
Clone this repository:
git clone https://github.com/ail-project/lacus.git
From the directory you just cloned, run:
poetry install
Install the system dependencies required by playwright (will call sudo):
poetry shell
playwright install-deps
Initialize the .env
file:
echo LACUS_HOME="`pwd`" >> .env
Initialize the config and install playwright browsers:
poetry run update --init
This will already launch a first instance.
Edit the config file config/generic.json
, and configure it accordingly to your needs.
Start the tool (as usual, from the directory):
poetry run start
You can stop it with
poetry run stop
With the default configuration, you can access the web interface on http://0.0.0.0:7100
,
where you will find the API and can start playing with it.