This is a repo is maintained and deployed by the X7DAO.
Please feel free to contact the author of this repo directly with improvements
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
The project requires Python 3.8 and above. You can check your Python version with the following command:
python --versionThe project also requires several Python packages. You can install them with the following command:
pip install -r requirements.txtIf you plan to contribute to the project, fork the repository first and then clone your fork:
git clone https://github.com/your-username/telegram-botIf you're an internal maintainer, you can clone the repository directly:
git clone https://github.com/x7finance/telegram-botNext, navigate to the project folder:
cd your-project-nameThen, set up a Python virtual environment to manage your project's dependencies. First, create the virtual environment:
python -m venv myenvNext, activate the virtual environment:
- For bash/zsh:
source myenv/bin/activate- For fish:
source myenv/bin/activate.fish- For Windows (PowerShell):
myenv\Scripts\Activate- For Windows (Command Prompt - cmd):
myenv\Scripts\activate.batAfter activating the virtual environment, install the project's dependencies:
pip install -r requirements.txtCopy .env.example to .env
cp .env.example .envFill in the required values in .env
With the virtual environment activated and all dependencies installed, you can now run your project with:
python app/main.py