Skip to content

its-biomedicale/mqtt-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MQTT Playground

Follow these steps to set up the project after cloning it from GitHub.

Steps to Set Up the Project

1. Clone the Repository

Clone the repository to your local machine using the following command:

git clone https://github.com/yourusername/yourproject.git
cd yourproject

2. Create a Virtual Environment

Create a virtual environment to manage dependencies:

python -m venv venv

3. Activate the Virtual Environment

Activate the virtual environment:

  • On Unix or MacOS:

    source venv/bin/activate
  • On Windows:

    venv\Scripts\activate

4. Install Dependencies

Install the necessary dependencies listed in the requirements.txt file:

pip install -r requirements.txt

5. Run the Project

Run your project scripts. For example:

python src/main.py

6. Adding New Dependencies

If you need to install new packages, use pip and update the requirements.txt file:

pip install new_package
pip freeze > requirements.txt

Example .gitignore

Make sure your .gitignore file includes the following lines to exclude the virtual environment and other unnecessary files:

venv/
__pycache__/
*.pyc
.DS_Store

By following these instructions, you can set up your development environment and ensure all necessary dependencies are installed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages