Skip to content

Commit

Permalink
Updata
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudEasa committed Feb 14, 2024
1 parent 51396b7 commit aea04df
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# All requirements to portfolio project E-Commerce

# Update and Upgrade apt-get
apt-get -y update
apt-get -y upgrade
# apt-get -y update
# apt-get -y upgrade


# Back-End
Expand Down Expand Up @@ -58,11 +58,11 @@ pip3 install flask_cors


# sqlalchemy
apt install libmysqlclient-dev
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
apt install pkg-config
pip install mysqlclient
pip3 install sqlalchemy
# apt install libmysqlclient-dev
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
# apt install pkg-config
# pip install mysqlclient
# pip3 install sqlalchemy



Expand Down Expand Up @@ -118,16 +118,16 @@ sTSKHe+QnnnoFmu4gnmDU31i
=Xqbo
-----END PGP PUBLIC KEY BLOCK-----
"
echo -e "$KEY" > signature.key
apt-key add signature.key
# add the apt repo
sh -c 'echo "deb http://repo.mysql.com/apt/ubuntu bionic mysql-5.7" >> /etc/apt/sources.list.d/mysql.list'
apt-get update
apt-cache policy mysql-server
# Now install mysql 5.7
apt install -f mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
# Check if MySQL Service Is Running
systemctl status mysql
# echo -e "$KEY" > signature.key
# apt-key add signature.key
# # add the apt repo
# sh -c 'echo "deb http://repo.mysql.com/apt/ubuntu bionic mysql-5.7" >> /etc/apt/sources.list.d/mysql.list'
# apt-get update
# apt-cache policy mysql-server
# # Now install mysql 5.7
# apt install -f mysql-client=5.7* mysql-community-server=5.7* mysql-server=5.7*
# # Check if MySQL Service Is Running
# systemctl status mysql


# Front-End
Expand Down Expand Up @@ -155,7 +155,7 @@ systemctl status mysql
# axios


pip uninstall markupsafe
pip3 install markupsafe
pip uninstall werkzeug
pip3 install werkzeug
# pip uninstall markupsafe
# pip3 install markupsafe
# pip uninstall werkzeug
# pip3 install werkzeug

0 comments on commit aea04df

Please sign in to comment.