sunnysavita10 / MCQGenerator

20 stars 19 forks source link
  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