Skip to content

Commit

Permalink
Handled redis port 11000 requirement for installing frappe and erpnext
Browse files Browse the repository at this point in the history
  • Loading branch information
flexy2ky committed Jun 6, 2023
1 parent 9c6bb71 commit a05fe68
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions erpnext_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ sleep 1
# Change directory to frappe-bench
cd frappe-bench && \

sudo sed -i '/port 6379/a port 11000' /etc/redis/redis.conf
sudo service redis-server restart


# Create new site using expect
export SITE_NAME=$site_name
export SQL_PASSWD=$sqlpasswrd
Expand All @@ -289,6 +293,9 @@ expect eof
")
echo "$SITE_SETUP"

sudo sed -i '/port 11000/d' /etc/redis/redis.conf
sudo service redis-server restart

echo -e "${LIGHT_BLUE}Would you like to continue with production install? (yes/no)${NC}"
read -p "Response: " continue_prod
continue_prod=$(echo "$continue_prod" | tr '[:upper:]' '[:lower:]') # Convert to lowercase
Expand Down

0 comments on commit a05fe68

Please sign in to comment.