Skip to content
PoketDevLabsPublic

About

A minimalist app that prevents your computer from going to sleep.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation


StayAwake

A minimalist app that prevents your computer from going to sleep.

StayAwake

StayAwake

StayAwake

Table of Contents
  1. Contact
  2. Prerequisites
  3. Clone the Repository
  4. Run the Code
  5. Additional Tools
  6. Thank you for choosing Poket Dev!

Contact

For any project-related questions, bug fixes, feature requests, or communication needs regarding StayAwake, please utilize the comment section within your StayAwake request card on your Trello board. This centralizes all discussions, ensuring efficient and effective communication throughout the project's development.

Prerequisites

  • Python (latest version)
    • If using windows, in the python installer make sure to select the "Add Python to PATH" option
  • Pycharm (optional)

Clone the Repository

Option 1: via Command Line Interface

  • Install GitHub CLI (if not already installed)
    git clone https://github.com/PoketDevLabs/StayAwake
    

Option 2: via GitHub Desktop

  1. Install GitHub Desktop (if not already installed)
  2. Follow instructions here to clone

Run the Code

While Docker is typically our recommended method for running Python applications, it is important to note that Stay Awake is specifically designed as a Windows desktop application. Consequently, there is no advantage to running it within a Docker container. Additionally, it is worth mentioning that pyqt5 is incompatible with Linux Docker containers. For Stay Awake, we recommend using Option 2: Poetry to run.

Option 1: Docker (Recommended)

Docker is a free tool that simplifies the process of running applications by packaging them with everything they need, so you can easily move them between different machines and ensure they work quickly and consistently, saving you time and reducing potential conflicts. If you're not familiar with docker, we STRONGLY recommend taking a few minutes to become familiar here.

  1. Install Docker Desktop (if not already installed)
  2. Open Docker Desktop
  3. Build the Docker image:
cd StayAwake
docker build -t stayawake .
  1. Run the Docker container:
docker run stayawake

Option 2: Poetry (Recommended for StayAwake)

  1. Install Poetry (if not already installed)
pip install poetry
  1. Install StayAwake dependencies
cd StayAwake
poetry install
  1. Run StayAwake
poetry run python main.py

Option 3: requirements.txt

  1. Create the virtual environment:
cd StayAwake
python -m venv venv
  1. Activate the virtual environment:
  • For Windows:
venv\Scripts\activate
  • For macOS/Linux:
source venv/bin/activate

Once activated, you will notice that the prompt in your terminal or command prompt changes to indicate that you are now working within the virtual environment.
3. Install StayAwake dependencies

pip install -r requirements.txt
  1. Run StayAwake
python main.py

Additional Tools

All StayAwake code was formatted, linted, and secured with the following tools:

Thank you for choosing Poket Dev!

Thank you for choosing Poket Dev, LLC (www.PoketDev.com) as your unlimited software development partner. We greatly appreciate you and are committed to delivering exceptional solutions and exceeding your expectations.

If you'd like to refer someone to Poket Dev, and they subscribe to any of our packages, you'll receive a $500 referral bonus.

About

A minimalist app that prevents your computer from going to sleep.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages