Skip to content

izzyunxi/ScrapChef

Repository files navigation

Data analysis

  • Document here the project: ScrapChef
  • Description: subject: To contribute a bit to reducing food waste by never having to throw away uncooked ingredients while having fun with exploring new recipes
  • Data Source: kaggle
  • Type of analysis:

Stratup the project

The initial setup.

Create virtualenv and install the project:

  $ sudo apt-get install virtualenv python-pip python-dev
  $ deactivate; virtualenv ~/venv ; source ~/venv/bin/activate ;\
    pip install pip -U; pip install -r requirements.txt

Unittest test:

  $ make clean install test

Check for ScrapChef in gitlab.com/{group}. If your project is not set please add it:

  • Create a new project on gitlab.com/{group}/ScrapChef
  • Then populate it:
  $ ##   e.g. if group is "{group}" and project_name is "ScrapChef"
  $ git remote add origin [email protected]:{group}/ScrapChef.git
  $ git push -u origin master
  $ git push -u origin --tags

Functionnal test with a script:

  $ cd /tmp
  $ ScrapChef-run

Install

Go to gitlab.com/{group}/ScrapChef to see the project, manage issues, setup you ssh public key, ...

Create a python3 virtualenv and activate it:

  $ sudo apt-get install virtualenv python-pip python-dev
  $ deactivate; virtualenv -ppython3 ~/venv ; source ~/venv/bin/activate

Clone the project and install it:

  $ git clone gitlab.com/{group}/ScrapChef
  $ cd ScrapChef
  $ pip install -r requirements.txt
  $ make clean install test                # install and test

Functionnal test with a script:

  $ cd /tmp
  $ ScrapChef-run

Continus integration

Github

Every push of master branch will execute .github/workflows/pythonpackages.yml docker jobs.

Gitlab

Every push of master branch will execute .gitlab-ci.yml docker jobs.

About

An App to reduce food waste by cooking with scrap ingredients or leftover food in our fridge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published