Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 671 Bytes

README.md

File metadata and controls

38 lines (22 loc) · 671 Bytes
  1. first login to the AWS: https://aws.amazon.com/console/

  2. search about the EC2

  3. you need to config the UBUNTU Machine

  4. launch the instance

  5. update the machine:

sudo apt update

sudo apt-get update

sudo apt upgrade -y

sudo apt install git curl unzip tar make sudo vim wget -y

git clone "Your-repository"

sudo apt install python3-pip

pip3 install -r requirements.txt

python3 -m streamlit run StreamlitAPP.py

if you want to add openai api key
  1. create .env file in your server touch .env

vi .env #press insert #copy your api key and paste it there #press and then :wq and hit enter

go with security and add the inbound rule add the port 8501