From 658ef57b2fe80fd7526c5e93c00cbdc8ee739048 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 15 May 2023 16:57:36 +0200 Subject: [PATCH] Add a command who install dependencies based on dune-project --- README.md | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index af6e016..5af02bb 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,5 @@ # Pusk -- [x] Download a driver -- [x] Run a driver in background during the life of the app -- [x] [Figuring out how to use drivers](https://w3c.github.io/webdriver/#endpoints) -- [x] Login to Twitter.com -- [x] Check if latest tweet of user is more or less old than 30 days -- [x] Then tweet if needed something like "Don't delete my account please" -- [x] Close everything properly -- [ ] Maybe create a docker image for easy deployment? - ## Requirements ```opam @@ -17,10 +8,23 @@ $ opam switch list → default ocaml-base-compiler.4.14.1 default ``` +### Install dependencies + ```sh -$ opam install cohttp-lwt-unix tls-lwt dotenv twostep +dune describe external-lib-deps | awk '/external_deps/{flag=1;next}/))/{flag=0}flag' | tr -d '()' | tr -s '\n' ' ' | sed 's/required//g' | xargs opam install -y ``` ## Name history Derived from Elon's name :D. Thanks, Elon, for destroying Twitter. + +## TODO list + +- [x] Download a driver +- [x] Run a driver in background during the life of the app +- [x] [Figuring out how to use drivers](https://w3c.github.io/webdriver/#endpoints) +- [x] Login to Twitter.com +- [x] Check if latest tweet of user is more or less old than 30 days +- [x] Then tweet if needed something like "Don't delete my account please" +- [x] Close everything properly +- [ ] Maybe create a docker image for easy deployment?