Giter VIP home page Giter VIP logo

cat_food's Introduction

CatFoodCalorieCalculator

What does this project do?

This software display how much amount of calorie your cat need to take depending on your cat's type and weight.

Why is this project useful?

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.

How to get started?

  1. 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)

  1. clone this repository

git clone https://github.com/KSH-KOR/cat_food.git

  1. move wordpress module to the src directory

sudo cp -R /home/"user_name"/.local/lib/python3.9/site-packages/wordpress_xmlrpc cat_food/src

  1. copy the repository under your server directory (for example, under /var/www/html/)

sudo cp -R ./cat_food /usr/www/html/

  1. 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'))

  1. 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();

  1. run submit.html file which is located under cat_food\src\templates
  2. or copy and paste submit.html script on your wordpress page as html script

and modify form action="exec_py.php directory"

  1. fill the html form as the instructions
  2. check your wordpress post

Where can people get more help, if needed?

You can contact me though my email: [email protected]

Presentation Video (YouTube) Link

Link: https://youtu.be/tQThT36zLfE

what my contribution to this project.

  1. create post.py
  2. create driver.py
  3. create cat.py
  4. create submit.html
  5. create exec_py.php

cat_food's People

Contributors

ksh-kor avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.