Skip to content

Commit 89de9d7

Browse files
authored
setup.sh having commands for setting up Python 3.9 env - new addition
setup.sh file having commands for setting up Python 3.9 env for running reviews.py having get-reviews & post-reviews endpoints
1 parent 7673487 commit 89de9d7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

functions/setup.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
# Install Python 3.9
4+
sudo apt-get update
5+
sudo apt-get install -y python3.9 python3.9-distutils
6+
7+
# Upgrade pip
8+
/usr/bin/python3.9 -m pip install --upgrade pip
9+
10+
# Install Cloudant
11+
/usr/bin/python3.9 -m pip install Cloudant
12+
13+
# Install Flask
14+
/usr/bin/python3.9 -m pip install Flask

0 commit comments

Comments
 (0)