docs: update README.md

This commit is contained in:
muskit
2024-02-02 02:23:09 -08:00
parent 6675165906
commit 8fda473316
+13 -6
View File
@@ -6,13 +6,20 @@ Twitter bot that tracks cross-company interactions between the non-JP branches o
**This project was created to run [this account](https://twitter.com/NijiHolo_EN_ID).** **This project was created to run [this account](https://twitter.com/NijiHolo_EN_ID).**
## Running ## Running
Install dependencies. With the way packages are setup, **you must have Docker installed and running!!**
```
pip install -r requirements.txt
```
Setup the `.env` in the project root. Refer to the `.env` section for variables.
Run the program from project root (not in `src`). Refer to the following section for options. Setup the `.env` in the project root. Refer to the [`.env`](#env) section for variables.
Build and run the Docker container:
```bash
# to run attached (can CTRL+P,CTRL+Q to detach)
sh run.sh
# ... or to run headless
sh run_detached.sh
```
If attached to a container prepared by Dockerfile, you can run the program from project root (not in `src`). Refer to the following section for options.
``` ```
python src/main.py python src/main.py
``` ```