File tree Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Expand file tree Collapse file tree 1 file changed +34
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,41 @@ Once you have the prerequisites set up, follow these steps:
3636 ``` bash
3737 git clone https://github.com/keploy/sample-python.git
3838 cd sample-python
39- Install the required Python packages:
4039
41- ` ` ` bash
42- pip install -r requirements.txt
43- ` ` `
40+ 2. Navigate your project directory:
41+
42+ ` ` ` bash
43+ cd sample-python/sanic-postgres
44+ ` ` `
45+
46+ 3. Create a Virtual Environment:
47+
48+ ` ` ` bash
49+ python -m venv venv
50+ ` ` `
51+ 4. Activating the Virtual Environment
52+
53+ On Windows:
54+
55+ ` ` ` bash
56+ venv\S cripts\a ctivate
57+ ` ` `
58+
59+ On macOS and Linux:
60+
61+ ` ` ` bash
62+ source venv/bin/activate
63+ ` ` `
64+ 5. Install the required Python packages:
65+
66+ ` ` ` bash
67+ pip install -r requirements.txt
68+ ` ` `
69+ 6. To exit your Virtual Environment:
70+
71+ ` ` ` bash
72+ deactivate
73+ ` ` `
4474
4575Set up your PostgreSQL database and update the connection settings in your application as needed.
4676
You can’t perform that action at this time.
0 commit comments