WEEK 01 Principles and Practices, Project Management
PRINCIPES & PRACTICES:
FINAL PROJECT IDEA
DESCRIPTION
FnessCat is a cat gym that consists of several smart devices. The primary component is a food dispenser that provides exercise rewards (ideally low-calorie snacks). This device works wirelessly with three additional exercise machines:
- Wireless Button: A simple wireless button that triggers snack release when pressed. The idea is to place it far enough so the cat must travel a certain distance to earn the reward.
- Climbing Tower or Wall: This device recognizes when the cat climbs to the top, signalling progress with lights and sounds. Upon reaching the top, the cat is rewarded with a treat.
- Treadmill Wheel: Equipped with a distance sensor, this device can be programmed to specific goals (e.g., 100 meters). Like the other devices, it signals progress and dispenses a reward once the target is achieved.
- Future Expansions: There are possibilities to extend the system with additional types of devices.
The reward system uses signals like lights and sounds that are easily recognized by cats but not disruptive to humans, ensuring the device remains functional without being annoying.
The idea came from noticing that two of my cats clearly get far too little exercise during the day. Naturally, they tend to be more active at night, which is when humans rest. The goal is to create a smart device that encourages cats to move and burn calories at night- without disturbing their owners.
PROJECT MANAGEMENT:
WORKFLOW PLAN
Wednesday is a new Monday :)
I plann my week achead. I still need to work more on the full schedule. Later I'll try to show it in a gantt chart. I'll devide my Final Project into smaller tasks and assign them to the Fab Acadamy classes.
I got a notebook, a pomodoro timer and I set up THE NOTION (an app to take notes that will help me upload photos directly from my phone and take quick notes while working. Notion also can export files directly to HTML that will speed up my documentation process)
I plan to use Chat GPT to edit my text and correct any grammar mistakes :)
POWERSHELL TERMINAL
PowerShell is a command-line shell and scripting language designed for task automation and system management in Windows (that I'm using) though it also works on Linux and MacOS. It helps users automate repetitive tasks, manage system configurations, and control applications through commands and scripts. I created my local folder with the help of chatGPT (I use it to ask questions and explain the comands).
GIT
I installed GIT on Windows using PowerShell. Git is a version control system that helps track changes in code, making it easy to collaborate with others and revert to previous versions if needed. It allows developers to manage projects efficiently by storing code in repositories, either locally or on platforms like GitHub or GitLab that we're going to use.
INSTALLING GIT:
- https://git-scm.com/
- install git on windows powershell:
winget install --id Git.Git -e --source winget
-
just once (or everytime in a new computer) clone your repo:
git clone [repo url]
-
“git mantra”:
git pull git add . git status git commit -m "name to our commit changed whatever" git push
VISUAL STUDIO CODE
HTML
MKDOCKS
- Installing PHYTON on my computer https://www.codingforentrepreneurs.com/guides/install-python-on-windows
Python is a high-level, interpreted programming language known for its simplicity, readability, and versatility. It is widely used in web development, data science, automation, artificial intelligence, and many other fields due to its extensive libraries and easy-to-learn syntax.
-
First problem. It was installed on another path which would be impractical to type
I created this shortcut with help of chatGPT
-
I followed the next steps
Just now my command is phyton -m pip install pip —upgtrate
Pip is the package manager for Python that allows you to install, update, and manage third-party libraries from the Python Package Index (PyPI). It simplifies dependency management, enabling developers to easily add functionality to their Python projects with commands like
pip install package_name
. -
I created Virtual Environment folder called myvenv
-
Problem: virtual environment doesn't work.
According to Microsoft Tech Support it might be a problem with Execution Policy Settings. To fix it, you should try executing
Set-ExecutionPolicy Unrestricted -Scope Process
, and AGREE to all -
This folder contains all the requirements needed to run my web, but i don’t want it to be uploded to my online repository. So I added txt file called .gitignore and inside I indicated the file that should not be included
-
Now everytime I would like to see my MKdock website on a local server running I activate my virtual environment where mkdocs is installed .\myvenv\Scripts\activate mkdocs serve desactivate or press CTR+c to leave virtual environment
-
Now I can copy the long to the browser and can see my website locally.
-
To create a floder with reqirements I typed pip freeze > requirements.txt
CHECKLIST:
Principles and Practices (part 1 of 2)
- Plan and sketch a potential final project
Project Management (part 2 of 2)
- Read, sign (add your name to) the student agreement and commit it to your repo
- Work through a git tutorial
- Build a personal website describing you and your final project. Refer to the lecture material for examples.
- Upload parts 1 and 2, to the class archive.
Learning outcomes
- Communicate an initial project proposal
- Identify and utilise version control protocol(s)
- Explore and use website development tool(s)
Have you answered these questions?
- Sketched your final project idea(s)
- Described briefly what it will do and who will use it
- Made a website and described how you did it
- Created a section about yourself on that website
- Added a page with your sketch and description of your final project idea(s)
- Documented steps for setting up your Git repository and adding files to it
- Pushed to your class GitLab repository
- Signed and uploaded Student Agreement
////////////////////////////////////////////////////////////////////////////////////////////////////////// ———————————————————————————————————————————
WEEK PLAN:
DAY | WED | TH | FR | SA | SU | MON | TU |
---|---|---|---|---|---|---|---|
PLAN | -14:00 Neil’s class | -10:30 Andre class | -15:00 Global time | ||||
-14:00 Recitation | -10:30 Andre class | ||||||
INFO | Plan the strategy for the week | FINAL PROJECT idea | Learn about GIT | FP concept | FP sketches | Website | Revision |