This software display how much amount of calorie your cat need to take depending on your cat's type and weight.
Feeding proper amount of food is very important for your cat's health. If you use this software, you can know how much you need to feed.
- install module
pip install os-sys (os-sys 2.1.4)
pip install python-wordpress-xmlrpc (python-wordpress-xmlrpc 2.3)
pip install pandas (pandas 1.4.2)
pip install numpy (numpy 1.22.4)
- clone this repository
git clone https://github.com/KSH-KOR/cat_food.git
- move wordpress module to the src directory
sudo cp -R /home/"user_name"/.local/lib/python3.9/site-packages/wordpress_xmlrpc cat_food/src
- copy the repository under your server directory (for example, under /var/www/html/)
sudo cp -R ./cat_food /usr/www/html/
- edit post.py file
sudo chmod 666 post.py
sudo vim post.py
line 9: client = Client('your_wordpress_url', 'wordpress id', 'wordpress password')
(for example: client = Client('http://localhost/wp/xmlrpc.php', 'id123', 'password123'))
- get chat room to hear users' voice
sudo git clone https://github.com/jerry10004/Chat-Room.git under cat_food directory
sudo chmod 666 Chat-Room/connection.php
vim Chat-Room/connection.php
enter your database information
sudo chmod 666 Chat-Room/index.php
vim Chat-Room/index.php
add the folling line in line 60
header('Location: '.'../../wp/'); die();
- run submit.html file which is located under cat_food\src\templates
- or copy and paste submit.html script on your wordpress page as html script
and modify form action="exec_py.php directory"
- fill the html form as the instructions
- check your wordpress post
You can contact me though my email: [email protected]
Link: https://youtu.be/tQThT36zLfE
- create post.py
- create driver.py
- create cat.py
- create submit.html
- create exec_py.php