Skip to content

RavDark1979/DjangoPlants

Repository files navigation

Web application:

DjangoPlants

This is my app for management and maintenance of home plants. Zrzut ekranu z 2022-06-25 23-35-39

Project purpise and description

The purpose of this app is to help organize the manage all the plants at home. User can view, add and modify: 1. plants - name: plant name, - price: purchase cost, - location: relation one-to-many with location - created: when the plant arrived to your home - updated: last date when the plant was watered, fertilized, ect. - difficulty: liczba głosów na przepis (domyślnie 0) - picture: graphical representation - notes: additional info about a plant (special care, sun requirements, ect)
  1. locations

    • name (living room, baclony, terrace, ect.)
    • sunlight level (high, medium, low)
  2. soil

    • name: name of the soil
    • type relation many-to-many with Plant,
    • price: purchase cost,
  3. pots

    • type: plastic, stone, ect.
    • price: purchase cost,
    • radius (in cm)
    • plant: relation one to one with pot
  4. suppliers

    • name (shop, garden centre, ect.)
    • address
    • relaction many to many with plant, soil, pot
  5. plans

    • name (watering, ferilizing, cleaning)
    • description: detail work in this place
    • created - date of creation

User can plan tasks regarding to particular plants in particular locations, like fertilizing, cutting, watering, application of plant protection substances.

Technologies used:

  • Python 3.8
  • Django
  • PostgreSQL
  • HTML
  • Bootstrap
  • FontAwesome
  • Running and using the app

    1. Fork the repo and then clone it to PyCharm for example.
    2. In Pycharm terminal or console go to the web app folder.
    3. Use the the command to create a virtual environment (source venv/bin/activate).
    4. Go to the folder with manage.py file and use the command (in console) to create own superuser (python manage.py createsuperuser) to get own account.
    5. Use the command python manage.py runserver to start the app.
    6. Enjoy.

    The app has a very intuitive menu and easily allows to add, view and modify specific fields.

    Zrzut ekranu z 2022-06-25 22-50-37

    Zrzut ekranu z 2022-06-25 22-49-13

    Zrzut ekranu z 2022-06-25 22-51-55

    Zrzut ekranu z 2022-06-25 22-51-01

    Added, modified items are stored in database.

    Credits

    Thanks to Michał Dobrzycki from CodersLab (https://github.com/michal-dobrzycki-coderslab) for excellent mentorship and CodersLab.

    LICENSE:

    Feel free to use and modify this app but please add the author info. Hope it will help you in your home gardens.