Skip to main content

Posts

How you can set up AWS gunicorn a virtual environment and install gunicorn within it:

  1. Install python3-venv (if not already installed) To create a virtual environment, you need to ensure that python3-venv is installed. Run: sudo apt install python3-venv 2. Create a Virtual Environment Navigate to your project directory and create a virtual environ cd ~/project python3 -m venv env This command creates a directory named env in your project directory containing the virtual environment. 3. Activate the Virtual Environment Activate the virtual environment: source env/bin/activate Your command prompt should change to indicate that the virtual environment is active. 4. Install gunicorn Within the Virtual Environment With the virtual environment activated, install gunicorn : pip install gunicorn 5. Run Your Django Application with gunicorn Start gunicorn using the virtual environment: gunicorn --bind 0.0.0.0:8000 proname.wsgi Replace proname with the name of your Django project. Deactivate the Virtual Environment When you're done working in the virtual environment...

Activate Your Windows or MS Office in Just One Simple Step

 Activate Your   Windows or  MS Office  in Just One Simple Step Microsoft Activation Scripts (MAS) A Windows and Office activator using HWID / Ohook / KMS38 / Online KMS activation methods, with a focus on open-source code and fewer antivirus detections. Download / How to use it? ​ Method 1 - PowerShell (Recommended) ​ Right-click on the Windows start menu and select PowerShell or Terminal (Not CMD). Copy and paste the code below and press enter irm https://get.activated.win | iex or (deprecated, will be retired on Aug 31 2024, use above instead) irm https://massgrave.dev/get | iex You will see the activation options. Follow the on-screen instructions. That's all. On older Windows builds you may need to run the below command before, [Net.ServicePointManager]::SecurityProtocol=[Net.SecurityProtocolType]::Tls12 The Powershell method does not work on Windows 7. Use the Method 2 - Traditional instead. The URL get.activated.win may be blocked by some DNS services bec...

Install Python: Django is a Python web framework including setting up a virtual environment and handling static files:

Sure, here is a step-by-step guide to get started with Django, including setting up a virtual environment and handling static files: Install Python: Django is a Python web framework, so you'll need to have Python installed on your computer. You can download the latest version of Python from the official website: https://www.python.org/downloads/ Install Django: Once you have Python installed, you can install Django using pip, the package installer for Python. Open a command prompt or terminal and type the following command: Copy code pip install django Create a virtual environment: A virtual environment is a self-contained directory that contains a Python installation and any necessary packages. It allows you to have multiple Python environments with different versions of packages. To create a virtual environment, navigate to the directory where you want to create the environment and type the following command: bash Copy code python -m venv env This will create a new virtual enviro...