-
First, make sure you have Python installed on your system. If not, you can download it from here.
-
Install the
virtualenv
package using pip:
pip install virtualenv
- Navigate to your project directory and create a new virtual environment:
cd path/to/your/project
virtualenv env
- Activate the virtual environment:
On Windows, run: env\Scripts\activate
On Unix or MacOS, run: source env/bin/activate
- Installing Requirements
pip install -r requirements.txt
- Running the Server
python manage.py runserver