From 3ef02bba2630010606a9606c69b081962b3a205e Mon Sep 17 00:00:00 2001 From: IgorVolochay Date: Sun, 26 Jan 2025 20:28:54 +0300 Subject: [PATCH] Create README file and add installation instructions --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..c6c2795 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# this OR that + +Telegram mini-app where you have to choose one of two things. + +## Installation + +1. Installing the repository: +```bash +git install https://github.com/IgorVolochay/thisORthat +``` + +2. The project is written in Python3.9. Make sure you have it on your system. Go to the project folder, create a virtual environment and download pip requirements. +```bash +cd ./thisORthat +python3.9 -m venv venv +source ./venv/bin/activate +pip3 install -r requirements.txt +``` + +3. Installing MongoDB database. You can use the [official manual](https://www.mongodb.com/docs/manual/installation/) to install MongoDB manually, or use a [Docker image](https://hub.docker.com/r/mongodb/mongodb-community-server) to run the container: +```bash +docker run --name mongodb -d -p 27017:27017 mongodb/mongodb-community-server +``` \ No newline at end of file