Table of Contents
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.
- Python (latest version)
- If using windows, in the python installer make sure to select the "Add Python to PATH" option
- Pycharm (optional)
- Install GitHub CLI (if not already installed)
git clone https://github.com/PoketDevLabs/StayAwake
- Install GitHub Desktop (if not already installed)
- Follow instructions here to clone
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.
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.
Install Docker Desktop (if not already installed)Open Docker DesktopBuild the Docker image:
cd StayAwake
docker build -t stayawake .
Run the Docker container:
docker run stayawake
- Install Poetry (if not already installed)
pip install poetry
- Install StayAwake dependencies
cd StayAwake
poetry install
- Run StayAwake
poetry run python main.py
- Create the virtual environment:
cd StayAwake
python -m venv venv
- 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
- Run StayAwake
python main.py
All StayAwake code was formatted, linted, and secured with the following tools:
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.